From owner-freebsd-emulation Sun May 17 08:00:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA28386 for freebsd-emulation-outgoing; Sun, 17 May 1998 08:00:18 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA28360 for ; Sun, 17 May 1998 08:00:15 -0700 (PDT) (envelope-from lutz@muc.de) Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <140561-1>; Sun, 17 May 1998 13:10:54 +0200 Received: from muc.de (abraxas [192.168.42.5]) by tavari.muc.de (8.8.8/8.8.7) with ESMTP id MAA00969 for ; Sun, 17 May 1998 12:59:47 +0200 (CEST) Message-ID: <355EC326.F6A741C2@muc.de> Date: Sun, 17 May 1998 12:59:50 +0200 From: Lutz Albers X-Mailer: Mozilla 4.04 [en] (X11; U; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: problems installing the new StarOffice version Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've just received the new StarOffice 4.0 CD-ROM for Linux (the one you can order from their web-site). This is a newly compiled version (according to the readme notes). The setup bombs with an Abort during install on a 2.2.6 system. Here is the last part pf a ktrace/kdump output: 911 setup.bin CALL listen(0x86b4924,0xefbfc590) 911 setup.bin NAMI "setup.ini" 911 setup.bin RET listen JUSTRETURN 911 setup.bin CALL getpid 911 setup.bin RET getpid 911/0x38f 911 setup.bin CALL open(0xefbfbdf0,0x800,0) 911 setup.bin NAMI "/compat/linux/proc/911/cmdline" 911 setup.bin NAMI "/proc/911/cmdline" 911 setup.bin RET open JUSTRETURN 911 setup.bin PSIG SIGSEGV caught handler=0x835e794 mask=0x0 code=0xc 911 setup.bin CALL setreuid(0x1,0xefbfc10c,0) 911 setup.bin RET setreuid 0 911 setup.bin CALL obs_vread(0x6,0xefbfc074,0xefbfc064) 911 setup.bin RET obs_vread 0 911 setup.bin CALL getpid 911 setup.bin RET getpid 911/0x38f 911 setup.bin CALL kill(0x38f,0x6) 911 setup.bin PSIG SIGIOT SIG_DFL 911 setup.bin NAMI "setup.bin.core" Any Ideas ? ciao lutz -- Lutz Albers, lutz@muc.de Do not take life too seriously, you will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 18 21:59:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA08961 for freebsd-emulation-outgoing; Mon, 18 May 1998 21:59:31 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles129.castles.com [208.214.165.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA08949 for ; Mon, 18 May 1998 21:59:27 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id UAA00349; Mon, 18 May 1998 20:30:31 -0700 (PDT) Message-Id: <199805190330.UAA00349@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Lutz Albers cc: emulation@FreeBSD.ORG Subject: Re: problems installing the new StarOffice version In-reply-to: Your message of "Sun, 17 May 1998 21:30:53 +0200." <355F3AED.19D0777B@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 May 1998 20:30:30 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Please always CC' emulation-related stuff to the emulation list. If I get hit by a bus, at least then someone else has a chance of picking it up. 8) > Mike Smith wrote: > > > I've just received the new StarOffice 4.0 CD-ROM for Linux (the one you > > > can order from their web-site). This is a newly compiled version > > > (according to the readme notes). The setup bombs with an Abort during > > > install on a 2.2.6 system. Here is the last part pf a ktrace/kdump > > > output: > > > > Is this kdump or linux_kdump? If the former, could you repeat with the > > latter? > > Sorry, didn't know about linux_kdump. Here it is: > > 4329 setup.bin RET linux_time 895432581/0x355f3785 > 4329 setup.bin CALL linux_newstat(0x86b4924,0xefbfc590) > 4329 setup.bin NAMI "setup.ini" > 4329 setup.bin RET linux_newstat JUSTRETURN That looks better. Check for setup.ini > 4329 setup.bin CALL getpid > 4329 setup.bin RET getpid 4329/0x10e9 > 4329 setup.bin CALL linux_open(0xefbfbdf0,0x800,0) > 4329 setup.bin NAMI "/compat/linux/proc/4329/cmdline" > 4329 setup.bin NAMI "/proc/4329/cmdline" > 4329 setup.bin RET linux_open JUSTRETURN This is still *&^%*&^%$c stupid. > 4329 setup.bin PSIG SIGSEGV caught handler=0x835e794 mask=0x0 > code=0xc And this is the same problem. > This looks really funny. Does FreeBSD emulate the Linux /proc fs ? I > don't know WHY the did this, the older installer worked fine :-( No, it doesn't. It looks like someone Got Smart. Does the setup.ini file exist? If not, try touching it and see what happens. > > > Any Ideas ? > > > > Not immediately, sorry. > > :-( Basically, we need to emulate more of the /proc cruft that Linux has. *sigh* -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 18 23:30:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA28459 for freebsd-emulation-outgoing; Mon, 18 May 1998 23:30:42 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA28344 for ; Mon, 18 May 1998 23:30:12 -0700 (PDT) (envelope-from lutz@muc.de) Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <140554-1>; Tue, 19 May 1998 07:56:37 +0200 Received: from muc.de (abraxas [192.168.42.5]) by tavari.muc.de (8.8.8/8.8.7) with ESMTP id HAA10084; Tue, 19 May 1998 07:56:28 +0200 (CEST) Message-ID: <35611F0C.6E8027E6@muc.de> Date: Tue, 19 May 1998 07:56:28 +0200 From: Lutz Albers X-Mailer: Mozilla 4.04 [en] (X11; U; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Mike Smith CC: emulation@FreeBSD.ORG Subject: Re: problems installing the new StarOffice version References: <199805190330.UAA00349@antipodes.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith wrote: > > Please always CC' emulation-related stuff to the emulation list. If I > get hit by a bus, at least then someone else has a chance of picking it > up. 8) Well, your first reply didn't came with a CC:, so I considerd that a private response :-) > > > > I've just received the new StarOffice 4.0 CD-ROM for Linux (the one you > > > > can order from their web-site). This is a newly compiled version > > > > (according to the readme notes). The setup bombs with an Abort during > > > > install on a 2.2.6 system. Here is the last part pf a ktrace/kdump > > > > output: > > > > > > Is this kdump or linux_kdump? If the former, could you repeat with the > > > latter? > > > > Sorry, didn't know about linux_kdump. Here it is: > > > > 4329 setup.bin RET linux_time 895432581/0x355f3785 > > 4329 setup.bin CALL linux_newstat(0x86b4924,0xefbfc590) > > 4329 setup.bin NAMI "setup.ini" > > 4329 setup.bin RET linux_newstat JUSTRETURN > > That looks better. Check for setup.ini There is no setup.ini on the CD. > > 4329 setup.bin CALL getpid > > 4329 setup.bin RET getpid 4329/0x10e9 > > 4329 setup.bin CALL linux_open(0xefbfbdf0,0x800,0) > > 4329 setup.bin NAMI "/compat/linux/proc/4329/cmdline" > > 4329 setup.bin NAMI "/proc/4329/cmdline" > > 4329 setup.bin RET linux_open JUSTRETURN > > This is still *&^%*&^%$c stupid. > > > 4329 setup.bin PSIG SIGSEGV caught handler=0x835e794 mask=0x0 > > code=0xc > > And this is the same problem. > > > This looks really funny. Does FreeBSD emulate the Linux /proc fs ? I > > don't know WHY the did this, the older installer worked fine :-( > > No, it doesn't. It looks like someone Got Smart. Does the setup.ini > file exist? If not, try touching it and see what happens. I will try that later. I HAVE gotten the damned thing to install now. Remembering that the whole StarOffice setup is basically script-driven I just picked an old version of the 4.0 I had lying around and used that. It worked. Now the soffice program just hangs at startup :-( ciao lutz -- Lutz Albers, lutz@muc.de Do not take life too seriously, you will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon May 18 23:58:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04157 for freebsd-emulation-outgoing; Mon, 18 May 1998 23:58:57 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04104 for ; Mon, 18 May 1998 23:58:40 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id BAA00836; Tue, 19 May 1998 01:57:47 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199805190657.BAA00836@dyson.iquest.net> Subject: Re: problems installing the new StarOffice version In-Reply-To: <199805190330.UAA00349@antipodes.cdrom.com> from Mike Smith at "May 18, 98 08:30:30 pm" To: mike@smith.net.au (Mike Smith) Date: Tue, 19 May 1998 01:57:47 -0500 (EST) Cc: lutz@muc.de, emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > That looks better. Check for setup.ini > > > 4329 setup.bin CALL getpid > > 4329 setup.bin RET getpid 4329/0x10e9 > > 4329 setup.bin CALL linux_open(0xefbfbdf0,0x800,0) > > 4329 setup.bin NAMI "/compat/linux/proc/4329/cmdline" > > 4329 setup.bin NAMI "/proc/4329/cmdline" > > 4329 setup.bin RET linux_open JUSTRETURN > > This is still *&^%*&^%$c stupid. > > > 4329 setup.bin PSIG SIGSEGV caught handler=0x835e794 mask=0x0 > > code=0xc > > And this is the same problem. > > > This looks really funny. Does FreeBSD emulate the Linux /proc fs ? I > > don't know WHY the did this, the older installer worked fine :-( > > No, it doesn't. It looks like someone Got Smart. Does the setup.ini > file exist? If not, try touching it and see what happens. > > > > > Any Ideas ? > > > > > > Not immediately, sorry. > > > > :-( > > Basically, we need to emulate more of the /proc cruft that Linux has. > *sigh* > It is easy to add things to the procfs, too bad the effort is wasted on Linux-junk compatibility. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue May 19 17:39:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29084 for freebsd-emulation-outgoing; Tue, 19 May 1998 17:39:04 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29065 for ; Tue, 19 May 1998 17:38:56 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.0.Beta7/frmug-2.3/nospam) with UUCP id CAA15481 for emulation@FreeBSD.ORG; Wed, 20 May 1998 02:38:46 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.9.0.Beta4/keltia-2.14/nospam) id CAA20980 for emulation@FreeBSD.ORG; Wed, 20 May 1998 02:22:58 +0200 (CEST) (envelope-from roberto) Message-ID: <19980520022258.A20964@keltia.freenix.fr> Date: Wed, 20 May 1998 02:22:58 +0200 From: Ollivier Robert To: emulation@FreeBSD.ORG Subject: Re: Star Office 4 (Was: Re: Problems w/ Linux EMU) Mail-Followup-To: emulation@FreeBSD.ORG References: <19980419170642.17930@follo.net> <199804191650.JAA01839@antipodes.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.3i In-Reply-To: <199804191650.JAA01839@antipodes.cdrom.com>; from Mike Smith on Sun, Apr 19, 1998 at 09:50:05AM -0700 X-Operating-System: FreeBSD 3.0-CURRENT ctm#4293 AMD-K6 MMX @ 225 MHz Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Mike Smith: > PLEASE POST PROBLEMS RELATED TO THE LINUX EMULATION TO THE -EMULATION An interesting data point about SO4: it runs without problems on my CURRENT/K6-225/128 MB system at home with just some random lockups (soffice takes 100% CPU). At work, on my CURRENT/P6-180/64 MB, the lockups happen almost immediately (i.e. SO4 is unusable). What could explain that ? -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #60: Fri May 15 21:04:22 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 11:57:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03598 for freebsd-emulation-outgoing; Thu, 21 May 1998 11:57:26 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from pegasus.rutgers.edu (pegasus.rutgers.edu [165.230.197.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA03583 for ; Thu, 21 May 1998 11:57:18 -0700 (PDT) (envelope-from paradox@pegasus.rutgers.edu) Received: from wasteland (wasteland.rutgers.edu [128.6.32.75]) by pegasus.rutgers.edu (8.6.12+bestmx+oldruq+newsunq/8.6.12) with SMTP id OAA25711 for ; Thu, 21 May 1998 14:57:15 -0400 Message-Id: <3.0.5.32.19980521145546.00a0e2b0@pegasus.rutgers.edu> X-Sender: paradox@pegasus.rutgers.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 21 May 1998 14:55:46 -0400 To: freebsd-emulation@FreeBSD.ORG From: Red Barchetta Subject: compiling Linux binaries under FreeBSD? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org First of all, is it possible? Second, how would one go about doing so? I would assume that getting a Linux gcc binary would be a must, but do I need a linker as well? And anything else? I've got a bunch of C files that I need to build a Linux library from... nothing more complicated than that. Any help/info would be appreciated. Thanks! Ernie Pistor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 13:33:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22831 for freebsd-emulation-outgoing; Thu, 21 May 1998 13:33:18 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22815 for ; Thu, 21 May 1998 13:33:13 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id NAA00660 for ; Thu, 21 May 1998 13:33:28 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Prev-Resent: Thu, 21 May 1998 13:33:28 -0700 Prev-Resent: "emulation@freebsd.org " Received: from mailhub.dgii.com (mailhub-n110.dgii.com [204.221.110.192]) by time.cdrom.com (8.8.8/8.8.8) with SMTP id NAA00546 for ; Thu, 21 May 1998 13:22:02 -0700 (PDT) (envelope-from rr@sco.COM) Received: from gw2.dgii.com by mailhub.dgii.com (SMI-8.6/SMI-SVR4) id PAA09061; Thu, 21 May 1998 15:20:14 -0500 Received: from sco.sco.COM by gw2.dgii.com (SMI-8.6/SMI-SVR4) id PAA05682; Thu, 21 May 1998 15:20:14 -0500 Received: from tahoe.pdev.sco.com by sco.sco.COM id aa13341; 21 May 98 13:18 PDT Received: from johndoe.pdev.sco.com by tahoe.pdev.sco.com id aa25108; 21 May 98 13:15 PDT Message-ID: <35648CB5.BBB9ED6A@sco.com> Date: Thu, 21 May 1998 13:21:09 -0700 From: Ronald Joe Record Organization: SCO X-Mailer: Mozilla 4.04 [en] (X11; I; UnixWare 5 i386) MIME-Version: 1.0 To: Dion Johnson CC: dev-86open@dgii.com, ray@sco.COM, "That Hoppie Kirk guy..." , "J. Kean Jonston" , doug@sco.COM, jimw@sco.COM Subject: Re: Bulletin on status of 86open at SCO References: <19980520111551.33249@sco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Spec150 Fans, Although the lxrun project is a different beast than what we'd agreed to for the 86open project, there are some similarities. Our experience in developing a Linux emulator which works at the system call level may be a good starting point for those interested in continuing to pursue the 86open goals. Specifically, the set of system calls that lxrun supports might provide some insight into what an 86open specification would look like. You can review the list of currently supported system call interfaces at: http://www.sco.com/skunkware/emulators/SyscallTable.html I am not familiar with the internals of Linux emulation on other Intel Unix platforms, but the intersection of all the supported system call sets from these various emulators could be viewed as Spec 150 or whatever we wish to call it. Finally, we are planning to implement a "pre-loading" of the system call mapping in lxrun. This may be accomplished by creating an additional shared library which contains the system call mapping functions of lxrun. This shared library in combination with the lxrun program interpreter effectively accomplishes (for SCO platforms) the (modified) goals of 86open. I would be happy to continue this discussion and will be presenting a talk on "Linux Emulation for SCO" at this summer's USENIX technical conference in New Orleans. Please feel free to contact me if you will be attending and wish to participate in a discussion on this topic. For a technical intro to lxrun (an open source project) see: http://www.sco.com/skunkware/emulators/lxrun/html/ I look forward to seeing any of you who choose to come to Santa Cruz during SCO Forum this August, Ron Record rr@sco.com re: Dion Johnson wrote: > > Dear friends in 86open, > > SCO is making a significant change to our strategy regarding > Linux compatibility. Here's a summary. > : > : > : > Also, and partly as result of the 86open discussions and > activities, SCO has come to believe that we really need to be > able to run Linux binaries in the near future. Knowing that the > emulation scheme works to around 90% success, maybe better, we > are now choosing to invest in making that scheme work. We > will also consider other ways to improve binary compatibility > for Linux software on SCO systems. > : > : > : > In the coming months, SCO will be improving the capabilities of > the lxrun emulator. We will probably not make any significant > public announcements of this until around SCO Forum time > (August 16-21). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 13:44:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24269 for freebsd-emulation-outgoing; Thu, 21 May 1998 13:44:42 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ixion.honeywell.com (ixion.honeywell.com [129.30.4.80]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24228 for ; Thu, 21 May 1998 13:44:39 -0700 (PDT) (envelope-from sleas@ixion.honeywell.com) Received: from localhost by ixion.honeywell.com with SMTP (1.40.112.8/16.2) id AA180883411; Thu, 21 May 1998 15:43:31 -0500 Date: Thu, 21 May 1998 15:43:31 -0500 (CDT) From: Shawn Leas To: Red Barchetta Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: compiling Linux binaries under FreeBSD? In-Reply-To: <3.0.5.32.19980521145546.00a0e2b0@pegasus.rutgers.edu> Message-Id: X-Clinton-Hdr4: test header4 Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cross compiling does not require a "linux" gcc binary. I don't make a habit of it, but I do know that. Shawn <=========== America Held Hostage ===========> Day 1947 for the poor and the middle class. Day 1966 for the rich and the dead. 975 days remaining in the Raw Deal. <============================================> On Thu, 21 May 1998, Red Barchetta wrote: > First of all, is it possible? Second, how would one go about doing so? I > would assume that getting a Linux gcc binary would be a must, but do I need > a linker as well? And anything else? > > I've got a bunch of C files that I need to build a Linux library from... > nothing more complicated than that. > > Any help/info would be appreciated. Thanks! > > Ernie Pistor > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 14:03:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27496 for freebsd-emulation-outgoing; Thu, 21 May 1998 14:03:44 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from firewall.ftf.dk (root@mail.ftf.dk [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27458 for ; Thu, 21 May 1998 14:03:20 -0700 (PDT) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id BAA15967; Fri, 22 May 1998 01:03:48 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id XAA21397; Thu, 21 May 1998 23:27:56 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.7/8.8.5/prosa-1.1) id XAA07746; Thu, 21 May 1998 23:02:13 +0200 (CEST) Message-ID: <19980521230213.17539@deepo.prosa.dk> Date: Thu, 21 May 1998 23:02:13 +0200 From: Philippe Regnauld To: Shawn Leas Cc: Red Barchetta , freebsd-emulation@FreeBSD.ORG Subject: Re: compiling Linux binaries under FreeBSD? References: <3.0.5.32.19980521145546.00a0e2b0@pegasus.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.88e In-Reply-To: ; from Shawn Leas on Thu, May 21, 1998 at 03:43:31PM -0500 X-Operating-System: FreeBSD 2.2.5-STABLE i386 Organization: PROSA Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Shawn Leas writes: > > Cross compiling does not require a "linux" gcc binary. I don't make a > habit of it, but I do know that. > > Shawn > > On Thu, 21 May 1998, Red Barchetta wrote: > > > First of all, is it possible? Second, how would one go about doing so? I > > would assume that getting a Linux gcc binary would be a must, but do I need > > a linker as well? And anything else? > > /usr/ports/devel/linux_devel -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- «Pluto placed his bad dog at the entrance of Hades to keep the dead IN and the living OUT! The archetypical corporate firewall?» - S. Kelly Bootle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 14:17:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00536 for freebsd-emulation-outgoing; Thu, 21 May 1998 14:17:04 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from sag.lmsal.com (sag.space.lockheed.com [192.68.162.134]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA00507 for ; Thu, 21 May 1998 14:16:51 -0700 (PDT) (envelope-from handy@sag.lmsal.com) Received: from localhost by sag.lmsal.com; (5.65v3.2/1.1.8.2/19May98-0849AM) id AA19465; Thu, 21 May 1998 14:16:49 -0700 Date: Thu, 21 May 1998 14:16:49 -0700 (PDT) From: Brian Handy To: Red Barchetta Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: compiling Linux binaries under FreeBSD? In-Reply-To: <3.0.5.32.19980521145546.00a0e2b0@pegasus.rutgers.edu> Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 21 May 1998, Red Barchetta wrote: >First of all, is it possible? Second, how would one go about doing so? I >would assume that getting a Linux gcc binary would be a must, but do I need >a linker as well? And anything else? What you're probably looking for is the linux_devel port. I've compiled linux binaries with it, but I can't remember now what all was involved in doing it. Seems like if you run the linux bash shell that comes with all this, everything Does The Right Thing. Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 21 16:15:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24622 for freebsd-emulation-outgoing; Thu, 21 May 1998 16:15:05 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles145.castles.com [208.214.165.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24596 for ; Thu, 21 May 1998 16:14:55 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id PAA04965; Thu, 21 May 1998 15:11:06 -0700 (PDT) Message-Id: <199805212211.PAA04965@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Red Barchetta cc: freebsd-emulation@FreeBSD.ORG Subject: Re: compiling Linux binaries under FreeBSD? In-reply-to: Your message of "Thu, 21 May 1998 14:55:46 EDT." <3.0.5.32.19980521145546.00a0e2b0@pegasus.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 May 1998 15:11:06 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > First of all, is it possible? Second, how would one go about doing so? I > would assume that getting a Linux gcc binary would be a must, but do I need > a linker as well? And anything else? > > I've got a bunch of C files that I need to build a Linux library from... > nothing more complicated than that. > > Any help/info would be appreciated. Thanks! Install the linux_devel package, then run /compat/linux/bin/sh. This will do all the right things with regards to your search path, with *one* exception. If you run a GNU configure script (or similar), it will find the BSD ranlib, and use that on your Linux libraries. You can circumvent this by making an empty, executable 'ranlib' file somewhere in the Linux executable hierarchy (eg. /compat/linux/usr/bin). Running the Linux-mode shell is fairly important; you can get by without it for simple things, but for more complex stuff you really want to have the right shell. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message