#error "Both _ILP32 and _LP64 are defined"

lrtaylor@micron.com lrtaylor@micron.com
Thu Feb 12 18:57:00 GMT 2004


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@gd-ais.com] 
Sent: Thursday, February 12, 2004 8:14 AM
To: gcc-help@gcc.gnu.org
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 ?




More information about the Gcc-help mailing list