This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Re: Can't compile egcs on sgi (long)


On Mon, Apr 19, 1999 at 09:55:21AM -0700, Anthony Green wrote:
>
>Tom wrote:
>> Jonah> ld: FATAL 112: cannot link old 32-bit object with -n32 link:
>> Jonah> ../libiberty/libiberty.a(pexecute.o).
>>
>> You'll definitely have to take this up on the egcs list.
>
>I believe you simply have to bootstrap the compiler with CC="cc -n32".
>
>AG
>
>--
>Anthony Green                                               Cygnus Solutions
>                                                       Sunnyvale, California
Thanks, that did the trick.  I tried using setenv CFLAGS "-n32" earlier
but it
failed and I can't remember why.