From owner-freebsd-questions Thu Sep 17 13:33:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21476 for freebsd-questions-outgoing; Thu, 17 Sep 1998 13:33:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kar.net (n185.cdialup.kar.net [195.178.130.185]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21363 for ; Thu, 17 Sep 1998 13:32:54 -0700 (PDT) (envelope-from kushn@mail.kar.net) Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with SMTP id XAA10503; Thu, 17 Sep 1998 23:31:51 +0300 (EEST) (envelope-from kushn@mail.kar.net) Date: Thu, 17 Sep 1998 23:31:50 +0300 (EEST) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: Nikolas Kauer cc: freebsd-questions@FreeBSD.ORG Subject: Re: help linux_devel In-Reply-To: <9809162345.AA30728@swift.physics.wisc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 16 Sep 1998, Nikolas Kauer wrote: > > Hi all, > > does anybody cross-compile Linux binaries under FreeBSD with > the linux_devel port? > > Any hints on how to actually do that after installing the port > would be greatly appreciated! > Actually, when I cross-compile, I do first (usually in the xterm window, in order to not break general environment): setenv PATH /compat/linux/bin:/compat/linux/usr/bin:/$PATH (thus when make, gcc, as, ld and so on are called - they'll be _Linux_ ones), and then compilation goes on smoothly. > ----------------------------------- > Nikolas Kauer > Hope this helps, Vladimir ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message