[fpc-devel] -i and -Cp
    Mark Morgan Lloyd 
    markMLl.fpc-devel at telemetry.co.uk
       
    Wed Oct 17 20:23:00 CEST 2012
    
    
  
Pierre Free Pascal wrote:
> You are right:
> muller at deluxe:~/pas/test$ ppcsparc hello
> muller at deluxe:~/pas/test$ ppcsparc hello -CpXX
> Error: Illegal parameter: -CpXX
> muller at deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v7"
> muller at deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v8"
> muller at deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v9"
> muller at 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]
    
    
More information about the fpc-devel
mailing list