Joerg Schilling wrote:
Cyril Plisko <[EMAIL PROTECTED]> wrote:
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.
I would implement it in a way that a previously explicit -xarch option
would overwrite this.
The compiler doesn't know what is explicit and what was expanded from a
macro. Having differing rules for various options would cause confusion.
Ian
_______________________________________________
opensolaris-discuss mailing list
[email protected]