[Pkg-pascal-devel] Fwd: Re: fpc op Debian kfreebsd-amd64

Robert Millan rmh at debian.org
Thu Nov 28 11:23:15 UTC 2013


On 28/11/2013 12:12, Marco van de Voort wrote:
>>> The startup code is modified because since the FPC rtl can work both
>>> with and without libc, it is seeded with "raw" data. (unprocessed
>>> environment etc). Also the frame pointer (EBP/RBP) needs to be nilled
>>> because of Pascal's nested procedure support, and exceptions in the FPU mask
>>> enabled.
>>
>> Better not to go there. You'd be disabling a lot of glue code that is
>> needed to preserve compatible API. Just use the libc calls if you can.
> 
> I'm not entirely sure what you mean here. What calls? What ABI?

Sorry, I was referring to skipping libc/syscall API, not specifically
startup.

> Anyway, one of my interests in this debian/freebsd port is to give the libc
> based port a bit of a testdrive. As said, it is not used anyway in
> production atm (IOW all FreeBSD and Linux versions are syscall based)

Thanks for your efforts. Feel free to drop by if you have new questions.

-- 
Robert Millan



More information about the Pkg-pascal-devel mailing list