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: building egcs 1.1.2 on Irix 6.5.4



Will Lowe wrote:
> I'm building egcs on an Indy running Irix 6.5.4,  and it always bombs out
> with this message:
> 
> mv tlist piclist
> /files1/gnu/egcs-1.1.2/irix65/build/gcc/xgcc
> -B/files1/gnu/egcs-1.1.2/irix65/build/gcc/ -g -O2 -fno-implicit-templates
> -mabi=64  -shared -o libstdc++.so.2.9.0 `cat piclist` -lm
> ld64: FATAL   9  : I/O error (-lm): No such file or directory
> collect2: ld returned 32 exit status

[snip]

> Any clues?  Is this really complaining that it can't find the math
> library?

It is ... but notice two things.  First, there is an -mabi=64 option on
the command line, and second, the error was reported by ld64.  This
error occured while trying to build the 64-bit version of libstdc++.  It 
is really complaining that it can't find the *64-bit* version of the
math library.

If I recall correctly, the Indy's can't run a 64-bit kernel anyway.  So
if you are not going to use gcc on any other SGI machines, you can
probably just tell multilib to forget the 64-bit stuff.  Unfortunately,
I don't know how to do that, so I'll let someone more experienced than
myself take over from here.
-- 
Jerry James
Email: jerry@cs.ucsb.edu
WWW:   http://www.cs.ucsb.edu/~jerry/


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