site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 18 Mar 2007, at 12:02, Filipe Cabecinhas wrote: Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... As far as I could see (by going through the source of Darwin, when I want to call a system call directly (I can't link the output of my compiler with the libc, I have to link it with my run-time library) I should do the following: Note that in this case the programs you create are only guaranteed to run on the exact system revision you are compiling on, because the syscall interface on Mac OS X is undefined and can change at will (unlike libc, which is defined). In general, it's pretty easy to build your run time library on top of libc rather than on top of system calls (we also did it for Mac OS X, while our Linux version uses system calls because there system calls are pretty much guaranteed to be backwards compatible forever, while glibc breaks backwards binary compatibility every couple of years). This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe