* Vincent Snijders wrote, On 12/12/07 15:37:
> Sam Liddicott schreef:
>> * Vincent Snijders wrote, On 12/12/07 13:53:
>>> Sam Liddicott schreef:
>>>> Please could a wise chap help me see why lazarus is calling ppc386
>>>> even
>>>> when I select to compile for powerpc.
>>>> The search paths are powerpc but the wrong compiler is called.
>>>>
>>> What does Environment -> Environment Options -> Files -> Compiler Path
>>> say?
>>>
>>> The compiler name should be ppcppc or (as I prefer) fpc.
>> That's what I was looking for.
>>
>> Thanks
>>
>
> FYI, this information is also in the last paragraph of
> http://wiki.lazarus.freepascal.org/index.php?title=Unit_not_found_-_How_to_find_units&curid=2724&diff=25651&oldid=25512#Case_3.3:_The_wrong_compiler_is_being_used
>
Thanks for adding that.

I wrote that wiki section this morning and was going to add your answer
tonight when I got home.

I reckon lazarus ought to use fpc by default?

And now I have been able to discover the final spell I need for the
cross compiler postinst, which will be some ifdef in fpc.cfg to add the
bintools prefix depending on the selected cpu/os; so if all goes well
we'll have simplified automated building of cross compiler debs.

I'll then re-work THAT so that the debian/* files are built as part of
make-dist (and the same for the spec file) to really simplify package
building. RPM guys will just need to do: rpm -tb fpc-tar.gz or something.

Sam

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to