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 ?

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to