compiling gcc45x on solaris x86

Pierre Léonard
Fri Aug 13 16:38:00 GMT 2010

Hi Ian,
> /home/pleonard/compiles/gcc-4.5.0/objdir/./gcc/xgcc -shared-libgcc
>> -B/home/pleonard/compiles/gcc-4.5.0/objdir/./gcc -nostdinc++
>> -L/home/pleonard/compiles/gcc-4.5.0/objdir/i386-pc-solaris2.10/libstdc++-v3/src
>> -L/home/pleonard/compiles/gcc-4.5.0/objdir/i386-pc-solaris2.10/libstdc++-v3/src/.libs
>> -B/home/pleonard/gcc450/i386-pc-solaris2.10/bin/
>> -B/home/pleonard/gcc450/i386-pc-solaris2.10/lib/ -isystem
>> /home/pleonard/gcc450/i386-pc-solaris2.10/include -isystem
>> /home/pleonard/gcc450/i386-pc-solaris2.10/sys-include -x c++-header -g
>> -I/usr/local/gcc/include/c++/4.4.4 -I/usr/include -I/usr/local/include
>> -O3 -mtune=athlon64-sse3 -m64 -masm=att
>> -I/home/pleonard/compiles/gcc-4.5.0/objdir/i386-pc-solaris2.10/libstdc++-v3/include/i386-pc-solaris2.10
>> -I/home/pleonard/compiles/gcc-4.5.0/objdir/i386-pc-solaris2.10/libstdc++-v3/include
>> -I/home/pleonard/compiles/gcc-4.5.0/libstdc++-v3/libsupc++ -O2 -g
>> /home/pleonard/compiles/gcc-4.5.0/libstdc++-v3/include/precompiled/stdc++.h
>> -o i386-pc-solaris2.10/bits/stdc++.h.gch/O2g.gch
> You are compiling 4.5.0.  Where did this option come from:
> -I/usr/local/gcc/include/c++/4.4.4
> Is it present in your environment or on your configure line?
This option come from my environnement and give access to the c++ 
headers installed by "make install"

I work in a "sand box"  to avoid disturbing the work of the "biologiste".
So in fact the compiler is installed un my home directory and I give 
accesse to it with symbolic links. Then when the release is declared 
stable I just have to change the "/usr/local/gcc" symlinks.

And it works except for the gcc450

Maybe I am wrong with that.

Thank's for your time.

Pierre Léonard
Institut Micalis
(Microbiologie de l’Alimentation au service
de la Santé humaine)
Centre de recherche de Jouy en Josas.
Domaine de Vilvert
78 352 Jouy en Josas cedex
01 34 65 29 78

More information about the Gcc-help mailing list