Joerg Schilling wrote:
Hi,

I just found an annoying cc bug:

If I call cc -xarch=amd64 -fast ... I get a 32 bit binary
If I call cc -fast -xarch=amd64 ... I get a 64 bit binary

I would expect that the fact that I did specify a -xarch option
is suddificent.

man page has some notes on that - you may pack as many -xarch= as
you like with the last one to take effect. Since the -fast is just
an alias, that includes -xarch=native (IIRC) it happens to override
you explicit -xarch selection.

Very annoying indeed. Not really a bug, IMHO.

Cyril

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to