Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Marc Santhoff
On So, 2016-01-10 at 09:52 +0100, Michael Ring wrote: > Perhaps you should build your own binutils, it seems that the version > you are using right now does not properly support armv7-m architecture. Did the trick, a current version of arm-elf-binutils worked. :) Many thanks to all who contribut

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Marc Santhoff
On So, 2016-01-10 at 13:17 +0100, Tomas Hajny wrote: > On Sun, January 10, 2016 12:57, Jonas Maebe wrote: > > Tomas Hajny wrote: > >> On Sat, January 9, 2016 23:44, Jonas Maebe wrote: > >>> On 09/01/16 23:27, Marc Santhoff wrote: > > His previous messages were about embedded development for ARM. I

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Tomas Hajny
On Sun, January 10, 2016 12:57, Jonas Maebe wrote: > Tomas Hajny wrote: >> On Sat, January 9, 2016 23:44, Jonas Maebe wrote: >>> On 09/01/16 23:27, Marc Santhoff wrote: >> How can I build a build a cross compiler running on FreeBSD compiling for ARM? >>> Try adding OS_TARGET=embedded to y

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Jonas Maebe
Tomas Hajny wrote: On Sat, January 9, 2016 23:44, Jonas Maebe wrote: On 09/01/16 23:27, Marc Santhoff wrote: How can I build a build a cross compiler running on FreeBSD compiling for ARM? Try adding OS_TARGET=embedded to your "make all CPU_TARGET=arm" invocation in the top level directory (a

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-10 Thread Michael Ring
Perhaps you should build your own binutils, it seems that the version you are using right now does not properly support armv7-m architecture. download ftp://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.gz |extract, create an empty directory and do:| || |../binutils-2.25.1/configure --target=ar

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Tomas Hajny
On Sat, January 9, 2016 23:44, Jonas Maebe wrote: > On 09/01/16 23:27, Marc Santhoff wrote: Hi Jonas, >> I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The >> compiler does not know any arm target. . . >> FreeBSD is running on some arm >> platforms (e.g. beagleboard), but

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Marc Santhoff
On Sa, 2016-01-09 at 23:44 +0100, Jonas Maebe wrote: > OS_TARGET=embedded No, doesn'r do. The error message talks about the assemble, maybe it is the binuitls variant installed? gmake[3]: Entering directory `/usr/p1/home/marc/program/fpc-cross/src/fpc/rtl/embedded' /usr/local/bin/gmkdir -p /usr

Re: [fpc-pascal] building arm cross compiler on FreeBSD

2016-01-09 Thread Jonas Maebe
On 09/01/16 23:27, Marc Santhoff wrote: I'm stuck while trying to build a cross compiler for ARM on FreeBSD. The compiler does not know any arm target. The compiler always only knows all targets for a single architecture. Unless you have a native ARM or a cross-compiler for ARM, it's normal t