12 Sep 2008 23:07
Re: GCC 3.4.6 build available
Paul Smedley <pauldespam <at> despamsmedley.id.au>
2008-09-12 21:07:32 GMT
2008-09-12 21:07:32 GMT
Hi Guys, On Fri, 12 Sep 2008 15:58:41 UTC, "Dave Parsons" <dwparsons <at> t-online.de> wrote: > On Fri, 12 Sep 2008 05:59:59 +0000 (UTC), Paul Smedley wrote: > > Anyone who also reads the Mozilla OS2 newsgroup may be aware that I've > > been exploring GCC 3.4.6 in recent weeks. > > > > Finally, I have something that I feel is ready for public consumption! > > > > The binaries can be downloaded from: > > http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439 > > bytes) > > Hi Paul, > > There don't seem to be any of the standard header files such > as stdlib.h etc. in that zip. Was that intentional? Yes.... The headers are part of libc - not gcc. The way I've currently packaged things, this is an addon to an existing GCC setup. ie if one has ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip installed into \usr - gcc 3.4.6 then ges installed into \usr\local In the setmozenv_gcc346.cmd - the following changes were necessary to ensure the newer gcc libs/includes were found first in /usr/local/*, then it defaults to the libc stuff in /usr: -'SET C_INCLUDE_PATH=%GCCDIR2%/lib/gcc-lib/i386-pc-os2-emx/3.3.5/include;%GC CDIR2%/include;%TOOLKIT2%/H/ARPA;%TOOLKIT2%/H/NET;%TOOLKIT2%/H/NETINET ;%TOOLKIT2%/H/NETNB;%TOOLKIT2%/H' -'SET CPLUS_INCLUDE_PATH=%GCCDIR2%/include/c++/3.3.5;%GCCDIR2%/include/c++/3 3.5/i386-pc-os2-emx;%GCCDIR2%/lib/gcc-lib/i386-pc-os2-emx/3.3.5/inclu de' -'SET CPLUS_INCLUDE_PATH=%CPLUS_INCLUDE_PATH%;%GCCDIR2%/include/c++/3.3.5/ba ckward;%GCCDIR2%/include;%TOOLKIT2%/H/ARPA;%TOOLKIT2%/H/NET;%TOOLKIT2% /H/NETINET;%TOOLKIT2%/H/NETNB;%TOOLKIT2%/H' +'SET C_INCLUDE_PATH=%GCCDIR2%/lib/gcc/i386-pc-os2-emx/3.4.6/include;%GCCDIR 2%/local/include;%GCCDIR2%/include;%TOOLKIT2%/H/ARPA;%TOOLKIT2%/H/NET; %TOOLKIT2%/H/NETINET;%TOOLKIT2%/H/NETNB;%TOOLKIT2%/H' +'SET CPLUS_INCLUDE_PATH=%GCCDIR2%/local/include/c++/3.4.6;%GCCDIR2%/local/i nclude/c++/3.4.6/i386-pc-os2-emx;%GCCDIR2%/local/lib/gcc/i386-pc-os2-e mx/3.4.6/include' +'SET CPLUS_INCLUDE_PATH=%CPLUS_INCLUDE_PATH%;%GCCDIR2%/local/include/c++/3. 4.6/backward;%GCCDIR2%/local/include;%GCCDIR2%/include;%TOOLKIT2%/H/AR PA;%TOOLKIT2%/H/NET;%TOOLKIT2%/H/NETINET;%TOOLKIT2%/H/NETNB;%TOOLKIT2% /H' 'SET INCLUDE=%TOOLKIT%\h;%INCLUDE%' -'SET LIBRARY_PATH=%GCCDIR2%/lib/tcpipv4;%GCCDIR2%/lib;%TOOLKIT2%/lib;' +'SET LIBRARY_PATH=%GCCDIR2%/lib/tcpipv4;%GCCDIR2%/local/lib;%GCCDIR2%/lib;% TOOLKIT2%/lib;' Hope this helps... -- -- Cheers, Paul.
RSS Feed