Thank you for your answer, I think you said this
http://cegcc.sourceforge.net/about.html
http://cegcc.sourceforge.net/
I download binutils-2.24.tar.gz, make & install.
this is my command line for fpc:
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc
I get this eror:
system.pp(1778) Error: Assembler arm-cegccas not found, switching to
external assembling
system.pp(1778) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
On 27-08-2014 16:43, Sven Barth wrote:
The PXA is an ARM processor, so you need to use "arm" as CPU target.
Additionally you need the correct binutils. I don't know them for
Ubuntu, but look for a package like cegcc-binutils or something like
that. In the end you should have a cegcc-arm-as or similary named
binary available of which you need to pass the prefix to the "make
all" as well as parameter (in my example) "BINUTILSPREFIX=cegcc-arm-".
Perhaps you'll also need to adjust the CPU type as I don't know
remember whether we changed that from the old default...
Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus