GCC 3.2.3 on Solaris 2.7
Balaji Srinivasa
Balaji@bladelogic.com
Fri Mar 19 07:53:00 GMT 2004
>> 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
More information about the Gcc
mailing list