yeah i'm aware of most of these good points you raise, however would not know how to implement my first syscall, i've been saving/bookmarking resources which i believe could be helpful. i would definately need a mentor on this project. it would be great also to see freebsd/zrouter on 300% more mips devices as most only have 4MB flash and this is one thing we really need to get the filesizes down (don't forget bionic (derived from bsd libc for android) bionics libc is very small, smaller infact than musl, however i'm not sure how complete, and i believe much of the same work is required as android uses the linux kernel. -----Original Message----- From: Garrett Cooper Sent: Friday, October 26, 2012 3:10 AM To: Michael Vale Cc: freebsd-current_at_freebsd.org Subject: Re: FreeBSD in Google Code-In 2012? You can help too! On Thu, Oct 25, 2012 at 9:03 AM, Michael Vale <masked_at_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_at_freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"Received on Thu Oct 25 2012 - 16:41:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC