Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

Cross compiling with Lazarus

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I have ppcross386 on 64bit Linux. Lazarus is looking for "fpc" rather then a specific compiler name. How can I tell it to look for ppcross386 rather then FPC when compiling to 32 bit linux ?

Thanks,
Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110615/518a8b7b/attachment.html>

Reply by email

ik
to Felipe Monteiro de Carvalho

2011/6/15 Felipe Monteiro de Carvalho

I use: Menu Tools -> Options -> Compiler Name

Thanks, when I'll have some time I would try to create a better way to define compiler, such as template/names for several compilers that changes using CPU target, or something close.

-- Felipe Monteiro de Carvalho

Ido

Show quoted text 7 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110615/6f1ca316/attachment.html>

Reply by email

Vincent Snijders
to ik: I have ppcross386 on 64bit Linux. Lazarus is looking for "fpc" rather then a specific…

2011/6/15 ik :

Show quoted text 5 lines
Hello, I have ppcross386 on 64bit Linux. Lazarus is looking for "fpc" rather then a specific compiler name. How can I tell it to look for ppcross386 rather then FPC when compiling to 32 bit linux ?

If you choose the i386 target CPU, -Pi386 is passed to fpc which calls ppcross386 (if you configured it correctly).

Vincent

Reply by email

Hans-Peter Diettrich
to ik: 2011/6/15 Felipe Monteiro de Carvalho Thanks, when I'll have some time I would try to…
Show quoted text 11 lines
2011/6/15 Felipe Monteiro de Carvalho < <mailto:>> I use: Menu Tools -> Options -> Compiler Name Thanks, when I'll have some time I would try to create a better way to define compiler, such as template/names for several compilers that changes using CPU target, or something close.

This is just what fpc does - find the compiler for the given target. I would not duplicate that functionality in Lazarus.

DoDi

Reply by email