Sign in Join

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

Mailing lists / fpc-pascal / 2004-02

fpc and familiar linux (ipaq)

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

Hi,

Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I want to experiment wihth it on an iPAQ (which also uses an ARM CPU) and familiar Linux. Have anyone tried? Anything I should know before trying to build fpc myself for the ipaq? The ideal setup for pda development is a cross compiler, as the pda has limited ram and flash (disk) space. Does fpc supports building a cross compiler?

[]s, Fernando Lozano

Michael Van Canneyt
to Unknown author
Show quoted text 8 lines
Hi, Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I want to experiment wihth it on an iPAQ (which also uses an ARM CPU) and familiar Linux. Have anyone tried? Anything I should know before trying to build fpc myself for the ipaq? The ideal setup for pda development is a cross compiler, as the pda has limited ram and flash (disk) space. Does fpc supports building a cross compiler?

Yes, it does. You'll need a cross-platform assembler and linker. Other than that it should just be a matter of compiling the compiler with OS_TARGET=linux and CPU_TARGET=arm on the make command line.

Florian Klaempfl did the port, he can say more about it.

Michael.

Florian Klaempfl
to Unknown author: Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I…
Show quoted text 5 lines
Hi, Read on the web site that fpc 1.9.3 builds itself and runs on the Zaurus. That's nice, I want to experiment wihth it on an iPAQ (which also uses an ARM CPU) and familiar Linux. Have anyone tried?

Recently, I collected some hints about working with development compilers in the FPC-Wiki:
http://www.freepascal.org/wiki/wiki.phtml?title=How_to_start

Anything I should know before trying to build fpc myself for the ipaq? The ideal setup for pda development is a cross compiler, as the pda has limited ram and flash (disk) space.

I plan to run FPC natively on my Zaurus (it already shows the help pages and is able to compile hello world :)), a 200 MHz CPU with 48 MB RAM and a 1 GB flash card is the same as I'd 5-6 years ago on my desktop :)

Does fpc supports building a cross compiler?

Of course, you need fpc and cross GNU binutils for your host system.