[fpc-devel] OpenBSD compiler
Marco van de Voort
marcov at stack.nl
Mon Oct 10 08:52:16 CEST 2011
In our previous episode, Pierre Free Pascal said:
> > (*) FreeBSD's pipe command contains an optimization. The array is not
> passed
> > to the syscall, and the results are stored in regs, not in the array. The
> > wrapper code stores the regs in the array.
> The current FreeBSD code is i386/x86_64 only...
I already installed a 9.0 beta on powerpc :-)
I also installed NetBSD in a VM.
> maybe it should use the normal code you added for other CPUs
> (even if those are not yet supported...)
I think we just soldier on target by target, see the ifdefs grow, and then
start thinking about splitting heavily ifdefed parts of the include files in
bsd/ over the targets. (and they can decide for themselves if they split
them out over the arch dirs)
Some other points:
1) no I didn't commit cprt0 since the result didn't work.
2) Did you test with elf binwriter ?
More information about the fpc-devel
mailing list