* * *

Author Topic: Free Pascal console programs on Android are easy  (Read 9688 times)

Paul Breneman

  • Full Member
  • ***
  • Posts: 224
    • Control Pascal
Re: Free Pascal console programs on Android are easy
« Reply #30 on: April 28, 2017, 02:25:53 pm »
If so, does 2.6.4 or 3.0.0 or 3.0.2 correct this problem?

I just made and posted two more zips on TurboControl.com for testing:
HelloWorld-fpc-2.6.4.arm-linux-042817.zip
HelloWorld-fpc-2.6.2.arm-linux-042817.zip

I previously had:
HelloWorld-fpc-3.0.2.arm-linux-041917.zip
HelloWorld-fpc-2.6.0.arm-linux-052412.zip
HelloWorld-fpc-2.2.2.arm-linux.tar.gz

The simple instructions at the bottom of http://turbocontrol.com/gnuroot.htm make testing easy.

When I run ppcarm from 2.6.2 and 2.6.0 I get: Illegal instruction

When I run ppcarm from 3.0.2 and 2.6.4 and 2.2.2 I get: Segmentation fault
Increasing stack size (ulimit -s 65536) doesn't change the last three errors.
« Last Edit: April 29, 2017, 03:12:49 am by Paul Breneman »
Regards,
Paul Breneman
www.ControlPascal.com

Paul Breneman

  • Full Member
  • ***
  • Posts: 224
    • Control Pascal
Re: Free Pascal console programs on Android are easy
« Reply #31 on: May 19, 2017, 02:59:57 am »
I finally got back to this...

I just installed the full fpc on Debian Jessie on GNUroot (chroot) on ARM and 2.6.4 was installed.  A lot of fp* programs are installed in /usr/bin/ so I tried running those.  Most get Segmentation fault, one gets Illegal instruction, and two (fpdoc & fppkg) run OK!  Any ideas on why those two run?  I'll have to look at the dependencies.
Regards,
Paul Breneman
www.ControlPascal.com

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5321
Re: Free Pascal console programs on Android are easy
« Reply #32 on: May 19, 2017, 11:12:56 am »
fpdoc maybe doesn't use floating  point? The compiler does for literals.

Paul Breneman

  • Full Member
  • ***
  • Posts: 224
    • Control Pascal
Re: Free Pascal console programs on Android are easy
« Reply #33 on: May 19, 2017, 02:41:46 pm »
fpdoc maybe doesn't use floating  point? The compiler does for literals.

I didn't try to compile any program.  I just ran the programs by themselves.  fpdoc and fppkg both run and display their options.
Regards,
Paul Breneman
www.ControlPascal.com

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus