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]

cannot find libc.a for 64-bit compile


Hi, folks --

Please forgive the almost-certainly-newbie post; I'm only a SysAdmin and
don't compile much :-)

In response to a request for a 64-bit capable compiler from one of our
developers, I downloaded the SunFreeWare egcs snapshot of 2000-03 and
installed it in /usr/local/egcs as Steve laid it out.  We've added the
-m64 directive to the CFLAGS and updated LD_LIBRARY_PATH to point to
/usr/local/egcs/lib/gcc-lib/sparc-sun-solaris2.8/2.96/sparcv9 but a make
still finds /usr/lib/libc.a, which is only 32-bit (Solaris8).  I looked
but did not find a libc.a under /usr/local/egcs and can't think of where
else it would be.

What do I need to do to point to a 64-bit libc.a (and any other
libraries)?  Is this a Solaris issue or a gcc issue?


TIA & HAND

:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) davidtg@bigfoot.com      * than to live up to them. -- fortune cookie
(work) davidtgwork@bigfoot.com
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

PGP signature


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