This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: GCC 3.2.3 on Solaris 2.7
- From: "Balaji Srinivasa" <Balaji at bladelogic dot com>
- To: "Eric Botcazou" <ebotcazou at libertysurf dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 18 Mar 2004 21:30:28 -0500
- Subject: RE: GCC 3.2.3 on Solaris 2.7
>> Now I am trying to use that to build a 32 bit gcc that can
>> generate 64 bit apps with the -m64 option.
>>
>> To do that, I am using a 64 bit Solaris 2.7 machine. I am
>> getting the following errors.
> Do you mean that you use on Solaris 7 the executable built on Solaris 2.6?
> I'm not sure this can work for GCC.
Yes. I cannot see why not...
>> --with-gcc-version-trigger=/home/balaji/gcc-3.2.3/gcc/version.c
>> --host=sparcv9-sun-solaris2 --prefix=/home/balaji/gcc-64
>> --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as --disable-libgcj
>> --disable-nls --enable-languages=c,c++,objc --norecursion
>> # using "mh-frag"
> --host=sparcv9-sun-solaris2 implies that you're trying to bootstrap a 64-bit
> compiler, not a 32-bit one. Passing sparc-sun-solaris2.7 is sufficient to
> get a multi-arch 32/64-bit compiler.
I will try this. All I want is a 32 bit compiler that can produce a 64 bit executable.
thx
balaji