Sign in Join

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

Mailing lists / fpc-devel / 2011-01

Re: FPC for Linux-ARM

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Schindler Karl-Michael

Hi,

My 2 cents.
1) bintutils:
I created a number of fink packages with crosscompilers on Mac OS X, including one for arm-linux. When doing so, informations about building crossbinutils would have been very helpful. Although arm-linux seems to be fairly straight forward, please document the configure options for building the cross binutils.
2) Cross compilers on Mac OS X
In particular with a working version on linux, it is straight forward for me to setup a fink package (fink works similar to synaptic on linux), which does the whole job of installing a crosscompiler on Mac OS X from the sources of the release version of fpc, i.e. 2.4.2 at the moment, with one command (for example: fink install fpc-cross-arm-linux) or even simpler through a GUI. This includes the dependance on the binutils created from current release sources. Therefore, you can add respective hints/documentation about Mac OS X as host platform on any page about crosscompiling for arm-linux.

Reply by email

Henry Vermaak
to Schindler Karl-Michael
Schindler Karl-Michael wrote 5 lines
Hi, My 2 cents. 1) bintutils: I created a number of fink packages with crosscompilers on Mac OS X, including one for arm-linux. When doing so, informations about building crossbinutils would have been very helpful. Although arm-linux seems to be fairly straight forward, please document the configure options for building the cross binutils.

./configure --help shows you some options. The only ones you really need to care about is --target and --prefix. The build system will be guessed and you can have a look at gas/configure.tgt for an idea of the targets. Sometimes you will also need --disable-werror, since by default the build will fail if there's a warning (iirc).

You can do neat things like use linux to build arm-linux cross binutils that runs on Windows (I've done this and it works).

Henry

Reply by email

Henry Vermaak
to Henry Vermaak
Henry Vermaak wrote 16 lines
On 18/01/11 12:25, Schindler Karl-Michael wrote: > Hi, > > My 2 cents. > 1) bintutils: > I created a number of fink packages with crosscompilers on Mac OS X, > including one for arm-linux. When doing so, informations about > building crossbinutils would have been very helpful. Although > arm-linux seems to be fairly straight forward, please document the > configure options for building the cross binutils. ./configure --help shows you some options. The only ones you really need to care about is --target and --prefix. The build system will be guessed and you can have a look at gas/configure.tgt for an idea of the targets. Sometimes you will also need --disable-werror, since by default the build will fail if there's a warning (iirc).

--disable-nls also makes the build process faster by disabling internationalisation.

Henry

Reply by email