[fpc-devel] FPC programs in OSv

Sven Barth pascaldragon at googlemail.com
Wed Mar 4 16:41:23 CET 2015


Am 04.03.2015 16:20 schrieb "Jonas Maebe" <jonas.maebe at elis.ugent.be>:
>
> On 04/03/15 15:47, Mattias Gaertner wrote:
>
> > How can I make the System unit use libc calls instead of the syscalls?
>
> In theory: by compiling the RTL with -dFPC_USE_LIBC. In practice, this
> is barely tested on Linux because no one uses it there. Sven has been
> working a little on it lately, but I don't know if he already committed
> all of his changes.

I haven't found the time yet. Maybe tomorrow. :)
@Matthias: it might be that cycling the compiler fails on current Linux
systems if you specify that define (it does at least on my up to date
ArchLinux systems). My outstanding commit fixes this.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150304/8c6bcbe2/attachment.html>


More information about the fpc-devel mailing list