This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Recommended method of building GCC on Solaris


Hello, 

I'm wondering if there is a preferred way of building gcc on Solaris. 
Currently I take the source code, configure with the following options, and 
do a make bootstrap. I use Sun's compiler (currently Sun Developer 7) to 
compile. I then take the resulting installation and turn it into a package. 
Is this all I should be doing on Solaris or are there other things I should 
do. I have compiled many pieces of software from the resulting compiler and 
not seen any problems, but I want to make sure I am not missing something. 
Please send responses to me directly as well as the list since I am not a 
subscriber. How gcc is configured: (I do not use GNU binutils)

../gcc-3.2.1/configure \
--prefix=/opt/MITSSgcc \
--enable-languages=all

Some software links against lgcc_s or the gcc c++ libraries, so I solve this 
like the following for my packages. Apache 2.0.44 is one such piece of 
software. Maybe it would be better to split up the resulting gcc installation 
into various pieces, but I like to build self contained software packages, so 
I have no chance of accidentally replacing a critical version of some 
library. Apache config:

SRC=/export/compile/apache
LDFLAGS="-R/opt/MITSSapache2/lib -L/opt/MITSSapache2/lib -lgcc_s" \
./configure  \
        --enable-layout=Medtronic \
        --enable-mods-shared=most --disable-ssl \
        --with-perl=/opt/MITSSperl/bin/perl \
        --enable-ssl=static \
        --with-ssl=/opt/MITSSopenssl

-Scott


-- 
Scott Burch <scott dot burch at camberwind dot com>
http://www.camberwind.com/ for more contact information


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