[fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread Carsten Bager
I have tested the 2.20 compiler for Arm. It looks good, a problem I had with threads has disappeared, but (there is always a but) now I have another problem. The bindery file is huge (Normally 160KB now 950KB. I presume that smart linking dos not work). I also get this warning form the linker "l

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread Jonas Maebe
On 19 Sep 2007, at 15:34, Carsten Bager wrote: The bindery file is huge (Normally 160KB now 950KB. I presume that smart linking dos not work). I also get this warning form the linker "ld: Warning: gc-sections option ignored". I have seen this since the version 214. My min problem is the b

RE: [fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread josepascual
> I have tested the 2.20 compiler for Arm. It looks good, a problem I had > with > threads has disappeared, but (there is always a but) now I have another > problem. > The bindery file is huge (Normally 160KB now 950KB. I presume that > smart > linking dos not work). I also get this warning form th

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread Marc Santhoff
Am Mittwoch, den 19.09.2007, 15:34 +0200 schrieb Carsten Bager: > I have converted c header files for NanoX (Micro Windows) and written a > small unit that can create buttons, labels etc. It is not a complete > conversion, but it is useful. Is this of any interest for the free Pascal > people?

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-19 Thread Carsten Bager
> Install a newer version of ld which does support the --gc-sections flag. Do you know where to find a newer version of the linker (binutils for arm linux) Regards Carsten Med venlig hilsen Carsten Bager BEAS A/S Brørupvænget 10 DK-7650 Bøvlingbjerg Tlf. : +45 9788 5222 Fax : +45 9788 5434 www.

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-21 Thread Carsten Bager
> > Install a newer version of ld which does support the --gc-sections flag. I found a Debian tool chain (http://www.emdebian.org/ -- binutils-arm-linux-gnu_2.18- 1_i386.deb). It works ok, but the linker gives some warnings /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libgcc_s.so when searc

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-21 Thread Marco van de Voort
> > > Install a newer version of ld which does support the --gc-sections flag. > > I found a Debian tool chain (http://www.emdebian.org/ -- > binutils-arm-linux-gnu_2.18- > 1_i386.deb). It works ok, but the linker gives some warnings > > /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libgcc_s

Re: [fpc-pascal] Compiler 2.20 for Arm

2007-09-24 Thread Carsten Bager
> Try to build with -s and examine/post the ppas.sh and link.res file. This is how the ppas.sh and the link.res file looks like. To me it looks ok. Do you think it is an error in the linker. Carsten #!/bin/sh DoExitAsm () { echo "An error occurred while assembling $1"; exit 1; } DoExitLink () {