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]
Other format: [Raw text]

Re: Recommended method of building GCC on Solaris


* Carl B. Constantine (cconstan@csc.UVic.CA) wrote:
> I tried that as well. It seems you can't compile gcc itself as a 64bit
> app. It includes a file called libelf.h which has this pragma in it:
> 
> #if defined(_ILP32) && (_FILE_OFFSET_BITS != 32)
> #error "large files are not supported by libelf"
> #endif
> 
> At least you can't use -D_FILE_OFFSET_BITS = 64 in your CPPFLAGS. This
> is really odd because I'm sure I was able to use that on Solaris x86.
> *shrug*

Hmm, I havn't hit that yet but I guess eventually I will.

The bigger problem I really do need to solve is getting a 64bit
libstdc++ so that I can compile C++ programs which use the Oracle 64bit
libraries..  Any suggestions?

	Stephen

Attachment: pgp00000.pgp
Description: PGP signature


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