Recent

Author Topic: freepascal using arm processor  (Read 3625 times)

plopzz

  • Newbie
  • Posts: 2
freepascal using arm processor
« on: October 02, 2006, 11:25:42 am »
Hello,

I have tested a simple "hello world" with the arm compiler

On the main linux (fedora), no problem to execute it (using qemu-arm) but on the target (gumstix with strongarm) i got a Illegal instruction

I have tested with uclibc and glibc.

I miss something ?

Thanks

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
RE: freepascal using arm processor
« Reply #1 on: October 02, 2006, 11:30:41 am »
fpc works on arm (see wince-arm), but without more info it is hard to tell what went wrong.
is the endianness the same ?
is the gumstix maybe running in thumb mode ?
do other apps work with the uclibc or glibc ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

plopzz

  • Newbie
  • Posts: 2
RE: freepascal using arm processor
« Reply #2 on: October 02, 2006, 01:20:10 pm »
the gumstix are little endian, without fpu....
other apps work without problem (with uclibc or glibc)
and the app compiled with wince-arm work only on my x86 linux pc with cpu arm emulator (qemu-arm)

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: freepascal using arm processor
« Reply #3 on: October 02, 2006, 02:09:10 pm »
It is probably better to ask this question on the Free Pascal mailling lists, since this is specific of the compiler.

 

TinyPortal © 2005-2018