[fpc-pascal]cross compiler potential ?

Harald Houppermans houppermans at home.nl
Sun Jun 29 03:05:07 CEST 2003


----- Original Message -----
From: "Nikolai Zhubr" <s001 at hotbox.ru>
To: <fpc-pascal at lists.freepascal.org>
Sent: Sunday, June 29, 2003 2:45 AM
Subject: Re: [fpc-pascal]cross compiler potential ?


> Hi,
> Saturday, 28 June, 2003, 22:26:01, Harald Houppermans wrote:
> > Suppose I ever do get a free pascal compiler working.
>
> > How usefull will it be ?
> This depends entirely on how much you need it :)
>
> > What I want to do is write windows server software and then compile it
for linux.
>
> > I would like to use: high performance counter, tcp/ip stack, udp
protocol.
> Many programs will compile and run fine without any change on both windows
> and linux, provided you have respective FPC version installed on both
> systems. There is absolutely no need for (and probably no benefit from)
> crosscompiling to do this, unless you are prohibited to use linux :)
> Be aware however, that low-level network stuff is somewhat different on
> linux and windows (which has nothing to do with FPC though), so it might
> very well happen that the program you design for linux will not be
> compilable for windows or will not run on windows properly, and vice
versa.
> High-performance things also tend to be platfrom-specific. I'd suppose
> you can find quite a lot of open-source server-related examples for *nix,
> hardly as many for windows. (Well, not in pascal may be, but anyway)
> I'm not much of an expert in this though...

Interesting post.

Indeed difference between linux and windows should be remember somewhere in
the back of my head :)

Like endianess :)





More information about the fpc-pascal mailing list