This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with '-static' in 3.0 release on AIX


>>>>> Matt Conway writes:

Matt> Seeing as how a pause is needed between making the compiler and libstdc++ 
Matt> (for symlinking as), what makefile targets do you use to make _just_ the 
Matt> compiler (and other needed libs I assume) and then libstdc++ ?  I'll let 
Matt> you know how it goes once I rebuild.

	I do the following steps:

1) Configure at top level
2) make all-zlib all-libiberty
3) cd gcc
4) explicit bootstrap (make; make stage1;
   make CC="stage1/xgcc -Bstage1" CFLAGS="-O2 -g"; etc.
5) make all-target-libiberty all-target-libf2c all-target-libobjc
6) ln -s GNU-Assembler gcc/as
7) make all-target-libstdc++-v3

	Depending on whether your system is 64-bits, you either need to
configure with --disable-aix64 or fake out the 64-bit limits files in
libstdc++. 

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]