[fpc-pascal] how to generate Free Pascal program for Open source router OpenWrt?

microcode at zoho.com microcode at zoho.com
Tue Jun 4 17:16:47 CEST 2013

On Tue, Jun 04, 2013 at 03:09:07PM +0000, Mark Morgan Lloyd wrote:
> Dennis wrote:
> >I wrote a free pascal program in ubuntu Linux and wanted to deploy
> >it to run in a netgear router through open router firmware
> >OpenWrt.
> >To test it, I copied the program into a OpenWrt virtualbox virtual
> >machine but when I ran it, it said:
> >[ 1891.890545] MyprogramName[1573] general protection ip:bf8e3f86
> >sp:bf8e2cd4 error:0 Segmentation fault

AFAIK VirtualBox is Intel x86 and AMD64 compatible. It will not run code for
any other architecture. I couldn't understand your post but if you're trying
to run MIPS code under VirtualBox, it will not work no matter what OS.

Then again maybe I am wrong and somebody ported VirtualBox to MIPS...

More information about the fpc-pascal mailing list