This is the mail archive of the gcc-bugs@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]

error building gcc-3.2.2 under solaris 2.8


I'm trying to build gcc-3.2.2 under solaris-2.8.

My system is loaded only with the 32-bit version of the operating system; I specifically didn't load the 64-bit version because I only have 256 Mb of memory and a 64-bit footprint would cause me more thrashing for no good reason.

I executed ./configure with no problem and then did a "make bootstrap". I'm using a version of gnu make and an older version of gcc I found on the web. During at least stage 2, because the executable is ./xgcc, I get a link error caused by the fact that all objects created are ELF32 *except* for those objects which are in ./sparcv9 and ./libgcc/sparcv9. The object in those directories are all ELF64. One cannot link dissimilar ELF objects together.

I'm not sure exactly how the system decides whether it should be creating the 32-bit or 64-bit versions of programs, and it wasn't obvious to me while reading the man pages. Any help would be appreciated. If you need any other information, I'm at your disposal.

Thanks,
Mark J. Everett

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



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