RE: #error "Both _ILP32 and _LP64 are defined"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ahah!  Do you really need to use the -ansi option?  I found that it
fails when I use it, and succeeds when I don't.

Lyle

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of lrtaylor
Sent: Thursday, February 12, 2004 11:57 AM
To: Phil.Crescioli@xxxxxxxxxx; gcc-help@xxxxxxxxxxx
Subject: RE: #error "Both _ILP32 and _LP64 are defined"

Sorry.  I meant to try compiling the program passing -m64 as an argument
to GCC, not building GCC that way...

I just tried building your program below on my Solaris 8 box with GCC
3.3.1, and it succeeded.  Question, was your compiler built on that box,
or did you install a prebuilt version?  Was it built for Solaris 8?  If
you're building your own compiler, is upgrading to 3.3.x an option?

I'm not sure if that's the problem, but, like I said, it worked for me.
Another thing to check - is your box up to date on patches?

Cheers,
Lyle

-----Original Message-----
From: Crescioli, Phil [mailto:Phil.Crescioli@xxxxxxxxxx] 
Sent: Thursday, February 12, 2004 8:14 AM
To: gcc-help@xxxxxxxxxxx
Cc: lrtaylor
Subject: RE: #error "Both _ILP32 and _LP64 are defined"


If I must recompile gcc323 with -m64, If I use -mtune=ultrasparc option
instead (as noted in the install readme below) would that do the trick 
since my platforms are all ultrasparcs ?




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux