Pierre Free Pascal wrote:
You are right:
muller@deluxe:~/pas/test$ ppcsparc hello
muller@deluxe:~/pas/test$ ppcsparc hello -CpXX
Error: Illegal parameter: -CpXX
muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v7"
muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v8"
muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v9"
muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v19"
Error: Illegal parameter: -Cpsparc v19
But I didn't find any use of cputype current_settings field
in compiler/sparc directory sources,
so the generated result should not change...
(Subject to Tomas's comment) both -Cp'SPARC v9' and '-CpSPARC v9' appear
to be accepted by the compiler. I suspect that the latter might be
better practice from the POV of the shell.
PS: Trunk for sparc is currently broken (I added some
checks related to nostackframe modifier, ad
some CPU do not conform to the idea that
the stacksize should be zero in that case...)
Thanks, noted. Yell when you want me to test something.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel