[fpc-other] Re: fpc-other Digest, Vol 10, Issue 3

L L at z505.com
Wed Oct 31 22:08:40 CET 2007


> No. The trouble of crosscompiling to *nix doesn't lie in ELF, but in the way
> of shared linking that requires (in the current form) libraries on the host.
>

Yes, but the bottom line is:

-it is easier to create an ELF on a unix like system.

Creating the elf includes linking the elf.

So essentially that was a technical nitpick.

I'm more interested in the bottom line of whether it is easier to build web
programs on a Mac for typical linux and bsd web servers than it is on a Windows
PC.

For example I'd like to write this on a Powtils website:
 1. install Apache on your mac
 2. build a web program
 3. compile with FPC using option XXXX to target i386
 4. upload it to a typical linux hosting account.


I've done cross compiling many times and it is a pain in the butt to create the
Elf on windows. I gave up and use CoLinux which is slow but much easier than 
the painful process of cross compiling and running around searching for all 
linux .SO and other files.



More information about the fpc-other mailing list