Re: [fpc-pascal] fpc 2.6.0-rc1 for arm-embedded

2011-12-12 Thread Koenraad Lelong

On 09-12-11 00:09, Den Jean wrote:

On Thursday 08 December 2011 13:49:16 Koenraad Lelong wrote:

  /usr/lib/fpc/2.6.0/units/arm-embedded/rtl/system.o does not support

  interworking, whereas test-1.elf does

does this thread help ?

http://lists.freepascal.org/lists/fpc-devel/2011-August/025615.html


Hi,

Thanks,

I tried the commands of John Clymer after downloading and installing 
Codesourcery. The compiler and my test-application compiled fine. I 
flashed my device but there I don't see anything.
At the moment I can't debug with JTAG, so I'll have to fix that first 
before I can say more.


Regards,

Koenraad Lelong.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] fpc 2.6.0-rc1 for arm-embedded

2011-12-08 Thread Koenraad Lelong

Hi,

I had some problems making or using a compiler for arm-embedded so I 
tried the new 2.6.0-rc1.

Compiling with :
make clean buildbase installbase CROSSINSTALL=1 CROSSOPT=-CfSoft 
-XParm-elf- OS_TARGET=embedded CPU_TARGET=arm PREFIX=/usr/ SUBARCH=armv7m

went fine.
Compiling a test-app with
/usr/lib/fpc/2.6.0/ppcrossarm -B -al -Tembedded -Wpstm32f103re -Cfsoft 
-Cparmv7m -XParm-elf- test-1.pas

gave me following warnings :
/usr/bin/arm-elf-ld: Warning: 
/usr/lib/fpc/2.6.0/units/arm-embedded/rtl/system.o does not support 
interworking, whereas test-1.elf does
/usr/bin/arm-elf-ld: Warning: 
/usr/lib/fpc/2.6.0/units/arm-embedded/rtl/stm32f103.o does not support 
interworking, whereas test-1.elf does


I think Googling tells me my application will not run. Am I doing 
something wrong ?


Thanks for any hints.

Koenraad Lelong
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpc 2.6.0-rc1 for arm-embedded

2011-12-08 Thread Den Jean
On Thursday 08 December 2011 13:49:16 Koenraad Lelong wrote:
 /usr/lib/fpc/2.6.0/units/arm-embedded/rtl/system.o does not support 
 interworking, whereas test-1.elf does
does this thread help ?
http://lists.freepascal.org/lists/fpc-devel/2011-August/025615.html
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal