General build questions
Kevin Bailey
ke-gcc@retriever.dyndns.org
Sat Feb 23 12:52:00 GMT 2002
I'm trying to build binutils-2.11, gcc-2.95.3 and gcc-3.0.4 on
Solaris 2.8. I'll probably be using the Sun compiler. I'm just
trying to figure out the best (simplest ?) way to build all
these tools.
Should I build binutils separately first ? Or should I build it
*with* gcc-2.95 ? One thing I'm nervous about with the first
method is compiling gcc with Sun's compiler linking with the new
ld. There's a comment on some page about 'linker compatibility'
being important. :/
Would either method require the --with-gnu-as and --with-gnu-ld
flags ? I'm assuming the former method would. In general, what
exactly do the --with-gnu flags mean ? Do they mean that I
*will* have Gnu as and ld in the path when gcc is done building
or does it mean they are in the path *during* the build ?
I heard gcc-3 must be built with gcc-2.95. True ?
If I'm building both compilers, can I nuke the libiberty
directory under binutils before building binutils ? Seems like a
waste otherwise...
Finally, any recommendations on flags for Solaris 2.8 ?
In particular, which threading model should I use ? pthreads
didn't seem to work. posix ? solaris ? I'd like to be able
to make pthread calls when it's done...
Thanks
More information about the Gcc-help
mailing list