From owner-freebsd-emulation Fri Nov 20 09:28:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25780 for freebsd-emulation-outgoing; Fri, 20 Nov 1998 09:28:50 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25775 for ; Fri, 20 Nov 1998 09:28:48 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id JAA03737; Fri, 20 Nov 1998 09:28:18 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id JAA18189; Fri, 20 Nov 1998 09:28:18 -0800 (PST) (envelope-from jdp@polstra.com) Date: Fri, 20 Nov 1998 09:28:18 -0800 (PST) Message-Id: <199811201728.JAA18189@vashon.polstra.com> To: ccsanady@friley-185-114.res.iastate.edu Subject: Re: Using Solaris/intel libraries? Newsgroups: polstra.freebsd.emulation In-Reply-To: <199811181735.LAA01159@friley-185-114.res.iastate.edu> Organization: Polstra & Co., Seattle, WA Cc: emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199811181735.LAA01159@friley-185-114.res.iastate.edu>, Chris Csanady wrote: > I was wondering if it would be possible to link with Solaris/Intel > libraries. Since they are both elf, this should work, right? No. The libraries were built with Solaris #include files, but your native code is built with FreeBSD #include files. The layouts of key structures (struct stat, the FILE structure, etc.) are different between the two. By the way, this has come up about a dozen times in the mailing lists. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message