[fpc-devel] Arm Big Endian

Marco van de Voort marcov at stack.nl
Wed Aug 24 09:00:01 CEST 2005


> At 09:31 23-8-2005, you wrote:
> > >
> > > Those arm-linux-as lines are in the Makefile and not in the compiler.
> >
> >Note that the easiest way to deal with such issues is to simply make
> >arm-linux-as and -ld a script that adds a parameter, so
> >
> >arm-linux-as is renamed to true-arm-linux-as and arm-linux-as is e.g.
> >(untested):
> >
> >#!/bin/sh
> >/path/to/true-arm-linux-as -mbig-endian $@
> 
> Using armbe-linux- as prefix for the script looks much better. And then 
> supply BINUTILSPREFIX=armbe-linux- for the make command or -XParmbe-linux- 
> for the compiler commandline.

Hmm, yes. Maybe we could put a few of these scripts prebuild in
install/cross or so. They hardly take up room anyway. 

Sb on the IRC ran into the same problem with AMD64 dual-arch distro's,
where the same as could make bins for 32-bit and 64-bit.




More information about the fpc-devel mailing list