Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!oleane!tank.news.pipex.net!pipex!newsfeed.internetmci.com!EU.net!Germany.EU.net!nntp.gmd.de!news.rwth-aachen.de!manray!not-for-mail From: odiug@gom.informatik.rwth-aachen.de (Guido Muesch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: porting Linux apps to BSD ! Date: 23 Aug 1995 16:21:38 GMT Organization: RWTH -Aachen / Rechnerbetrieb Informatik Lines: 33 Message-ID: <41fkii$8mo@news.rwth-aachen.de> References: <aak2.808728796@Ra.MsState.Edu> <41dkk4$fbn@news.rwth-aachen.de> <41epcd$bn4@agate.berkeley.edu> NNTP-Posting-Host: manray.informatik.rwth-aachen.de X-Newsreader: TIN [UNIX 1.3 950520BETA PL0] Nick Kralevich (nickkral@parker.EECS.Berkeley.EDU) wrote: : In article <41dkk4$fbn@news.rwth-aachen.de>, : Guido Muesch <odiug@gom.informatik.rwth-aachen.de> wrote: : >Under Linux this works, because they remapped the zero : >page, so they have a 0 at position 0. : : Ummm, no. : Hmmm, seems like I mixed something up. But I tested the following: #include <stdio.h> main() { char * foo = NULL; char * bar = NULL; strcmp(foo, bar); } Under Linux it does nothing. (Kernel 1.2.8, a.out binaries, libc 4.5.21 I think). Under FreeBSD: segmentation violation--core dumped Under Solaris 2.3 and SunOS 4.1.2 segmentation violation--core dumped Well, anyway. Are you successful with porting your software? Good luck. Ciao Guido