Date: Thu, 25 Oct 2012 09:10:35 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Michael Vale <masked@internode.on.net> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <CAGH67wRO8bOsqsp-dRh9pMpR1VwbNNDu77Fm_D_nwRLwvo35Jw@mail.gmail.com> In-Reply-To: <050788AC7FD04B00828B9FE758F2BC92@forexamplePC> References: <050788AC7FD04B00828B9FE758F2BC92@forexamplePC>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 25, 2012 at 9:03 AM, Michael Vale <masked@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRO8bOsqsp-dRh9pMpR1VwbNNDu77Fm_D_nwRLwvo35Jw>