[fpc-pascal]free pascal cross compiler from windows to linux working.

Harald Houppermans houppermans at home.nl
Sun Jun 29 04:30:18 CEST 2003

The free pascal 1.0.6 cross compiler host windows target linux is now

I used cygwin, binutils-2.14 and free pascal.

( mingw unfortunately did not working: missing bison, flex, etc :) )

I tested a simple hello world program with knoppix ( linux running from
cd-rom ).

Then I also tested it with a red hat linux server.

The only problem seems to be that the hello world is denied access.

It says: permission denied...

That is probably easily solved with chmod.

I am just wondering if the free pascal compiler can set these permission
automatically for the linux executables.

( Is that the right term, linux executables ? :) )

So other weird red hat linux server behaviour... I have to use:  ./hello
( just hello does work on knoppix )

That's probably a red hat linux server setting... ./ means current folder...

Just wondering what that is all about.

I ll bet I'll also write a tutorial so others can do it.

Also with a little side note why I want it... many asked why not install

My short answer would be: 1. no space. 2. I read linux can destroy NTFS
partitions :)

Since I have windows xp ntfs and windows 98 fat32 paritions I don't want
that now do I :)


More information about the fpc-pascal mailing list