On Thu, Oct 25, 2012 at 9:03 AM, Michael Vale <mas...@internode.on.net> wrote: > > -----Original Message----- From: Michael Vale > Sent: Friday, October 26, 2012 3:02 AM > To: Stefan Esser > > Subject: Re: FreeBSD in Google Code-In 2012? You can help too! > > yeah it builds fine as it has no dependencies. > > currently it only has syscalls for linux (emulation) and any binary app you > build against it has to be brandelf'd Linux. > > I would like to see the freebsd syscalls, mutex/futexes coded into it so it > could be a drop in replacement for the bsd toolchain when cross-compiling > for mips / zrouter.org. > > plus i believe the mips kernel doesn't have linux emulation. (i could be > wrong). but yeah, a native port would require kernel hacking skills.
Only x86 has Linux compat support (amd64. i386, and pc98), and true amd64 (64-bit, biarch) Linux compat is missing, FYI. It's a doable task, but there would need to be some fudging done with the syscall table (I committed a script in LTP which groks unistd.h for this info on Linux), you'd need to add architecture dependent syscalls, and do some other fun tasks. Cheers, -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"