From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 13:52:14 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B35316A420; Fri, 24 Aug 2007 13:52:14 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id DCC7113C45A; Fri, 24 Aug 2007 13:52:13 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by eunet.yu (8.13.6/8.13.6) with ESMTP id l7ODq6kZ004409; Fri, 24 Aug 2007 15:52:06 +0200 Message-Id: <200708241352.l7ODq6kZ004409@eunet.yu> Date: Fri, 24 Aug 2007 15:47:12 +0200 From: Nikola Lecic To: Alexander Leidinger In-Reply-To: <20070824140526.vcufi2ctcgk4kwsw@webmail.leidinger.net> References: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> <200708241130.l7OBUgQf008748@smtpclu-6.eunet.yu> <20070824140526.vcufi2ctcgk4kwsw@webmail.leidinger.net> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: /compat/linux/usr/bin/ld -- old devel/linux_devel port? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 13:52:14 -0000 On Fri, 24 Aug 2007 14:05:26 +0200 Alexander Leidinger wrote: [...] > >> If you want to do Linux development on FreeBSD you need to install > >> a linux_dist port (contains a compiler toolchain) and chroot into > >> the corresponding directory (it's in /usr/local/...). > > > > Alexander, many thanks for the explanation. My question was related > > to > > > > (1) an old freebsd-ports@ post (written by you): > > > > =20 > > http://lists.freebsd.org/pipermail/freebsd-ports/2004-March/009943.html >=20 > Ugh... be careful if you try to do something which is described > here. You really need to know what you are doing, else you open up > pandoras box... Understood. :) =20 > > (2) the recent user question regarding running Linux versions of > > GHDL and/or GNAT compilers on FreeBSD-amd64: > > > > =20 > > http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/155758= .html > > > > So your explanation answers the question from (2) (correct?) as > > well as why linux_devel and linux_devtools ports were erased. >=20 > linux_dev* where: > - outdated > - broken / dangerous / not suitable for RH8 or FCx > - not maintained >=20 > You will not be able to run ld from linux_dist without a chroot. > With a chroot, you will not be able to really use it from a FreeBSD > Port (even if you manage to get it running without the chroot). When > you run with a chroot, you will generate linux binaries, not FreeBSD =20 > binaries. Ok, so such a mixing is out of question... =20 > The right thing to do for (2) is to port GNAT to amd64, and I doubt =20 > the easy way is to take the linux compiler and play some tricks with > it. ... I thought that skipping GNAT and using linux binaries of GHDL compiler directly could be useful in meantime for that user. And again, my thoughts about it were inspired by the existence of lang/ifc port. I mean, despite the fact that linux-ghdl compiler (which needs linux-ld) produces linux binaries, it still can be useful for someone who wants to switch to FreeBSD. In fact, I obviously lack the knowledge on how IFC produces FreeBSD binaries and if it's possible in other cases. But that's another story. Nikola Le=C4=8Di=C4=87