Subject: Re: Mixing NetBSD and Linux shared libs
To: Thomas Runge <>
From: Todd Vierling <>
List: current-users
Date: 04/19/2002 10:50:36
On Fri, 19 Apr 2002, Thomas Runge wrote:

: Do I get it right? If we use our native compiler/linker
: with -nostdinc and -nostdlib but providing Linux's
: includes, libs and startup files, we can get a binary
: that works on a real Linux box?

For i386, yes, but only out of sheer luck because the file formats are the
same and the gcc "specs" are almost the same.  This is not guaranteed and
certainly not a reliable way to do it.

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --