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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to