Sign in Join

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

Mailing lists / fpc-pascal / 2004-03

ARM packages of >= 1.9.3?

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Alan Mead

I just got a Zaurus and I'd love to use FPC on it. Or, failing that, I'd like to try cross-compiling on Linux for ARM. Are there any Zarus users out there who could lend me a hand getting started?

-Alan

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html

Florian Klaempfl
to Alan Mead
Alan Mead wrote
I just got a Zaurus and I'd love to use FPC on it. Or, failing that, I'd like to try cross-compiling on Linux for ARM. Are there any Zarus users out there who could lend me a hand getting started?

Get fpc via cvs, change to the fpc dir and do a
make clean all OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=arm-linux-

It requires that a arm-linux-as and arm-linux-ld (cross binutils) are somewhere in your path.

You'll get a ppcarm and a ppccrossarm and a rtl.

Jose Pascual
to Florian Klaempfl
Get fpc via cvs, change to the fpc dir and do a make clean all OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=arm-linux-

I'm interested in "ppccrossarm" and I already generated it using the make command line write above, but
Where is arm version going to install (directories) if I "make install"? In the same than x86?
How do I write fpc.cfg for arm?
Can arm and x86 version coexists together?

It requires that a arm-linux-as and arm-linux-ld (cross binutils) are somewhere in your path. You'll get a ppcarm and a ppccrossarm and a rtl.

Thanks!

Marco van de Voort
to Jose Pascual
Show quoted text 10 lines
> Get fpc via cvs, change to the fpc dir and do a > make clean all OS_TARGET=linux CPU_TARGET=arm > BINUTILSPREFIX=arm-linux- > I'm interested in "ppccrossarm" and I already generated it using the make command line write above, but Where is arm version going to install (directories) if I "make install"? In the same than x86?

yes, but then units/cross/arm-linux instead of units/linux

How do I write fpc.cfg for arm?

You don't. You blend the ARM config into your current fpc.cfg, see the buildfaq for examples. (http://www.stack.nl/~marcov/buildfaq.pdf)

Can arm and x86 version coexists together?

I suppose so. It worked with Powerpc/x86 combo in november (when I last did this)