From owner-freebsd-doc@FreeBSD.ORG Fri Aug 31 11:26:58 2007 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D68516A41A for ; Fri, 31 Aug 2007 11:26:58 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 0826813C467 for ; Fri, 31 Aug 2007 11:26:57 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55A26.dip.t-dialin.net [84.165.90.38]) by redbull.bpaserver.net (Postfix) with ESMTP id A369D2E0AE; Fri, 31 Aug 2007 13:10:40 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 39B7B5B4996; Fri, 31 Aug 2007 13:10:38 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7VBAcGe051739; Fri, 31 Aug 2007 13:10:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from proxy.Leidinger.net (proxy.Leidinger.net [192.168.1.103]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 31 Aug 2007 13:10:38 +0200 Message-ID: <20070831131038.ip6q2yni69kw880g@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 31 Aug 2007 13:10:38 +0200 From: Alexander Leidinger To: "Arno J. Klaassen" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: doc@freebsd.org Subject: Re: something completely different X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 11:26:58 -0000 Quoting "Arno J. Klaassen" (from 31 Aug =20 2007 12:43:58 +0200): doc@ CCed, they could make a FAQ out of this (or a oart of the =20 linuxulaor chapter in the handbook). > Hello, > > since a while, linux_base does not install a compiler > any longer (whilst gcc-4.0.2-8.fc4.src.rpm still is > in SRC_DIST_FILES). To satisfy the GPL for the binary libgcc RPM. > In some circumstances (e.g. for me needing some > linux .o files in a further freebsd Makefile) makes > using linux_dist chroot impossible (or at least > very clumsy). Did you thought about building a cross-compiler instead? > Would it be possible to reinclude gcc in linux_base or > add a devel/linux32-gcc port > (I made one locally which uses (not updated since a while) : If we include such a port, people would expect that it just works. But =20 this is not the case, it's dangerous. You can not guarantee that the =20 linux gcc will pick up the right includes/libs. You can be lucky, or =20 not (without noticing). For this reason I suggest one of the linux_dist ports and a chroot =20 into it when a complete linux-env is needed, and a cross-compiler when =20 no autoconf-like processing in the linux-env has to be done. This is a =20 much cleaner and safer solution. Bye, Alexander. --=20 The notion of a "record" is an obsolete remnant of the days of the 80-column card. =09=09-- Dennis M. Ritchie http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137