------- Comment #11 from ebotcazou at gcc dot gnu dot org  2006-01-12 15:47 
-------
> The magic required was:
> 
> 1. Ensure bintools was in path before /usr/ccs/bin

What is bintools?

> 2. Remove gnu ld from system
> 3. CFLAGS='-m64' configure --disable-multilib --enable-languages=c,c++
> sparcv9-sun-solaris2.10

Setting CFLAGS on the configure line is a _recipe_for_disaster_, only CC should
be set.

> I disabled multilib because otherwise it tried to compile sparcv7 with 'xgcc
> ... -m32 -m64', requiring too many manual changes of config.status and
> resulting Makefile's

!??? See above.

> I guess my final point is that if configure sees that it's on Solaris 2.10
> with a v9 processor, shouldn't it at least guess 'sparcv9-sun-solaris2.10'
> as the triplet instead of the generic 'sparc-sun-solaris', especially since I
> hadn't specified --host, --target or --build?

No, the canonical target triplet is always sparc-sun-solaris2.* on Solaris as
the default architecture is V8.

I'm really puzzled by all this mess, you're the first one who reported that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25740

Reply via email to