From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 01:01:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCFA31065675 for ; Thu, 17 Jun 2010 01:01:11 +0000 (UTC) (envelope-from tengda.ustc@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AFC518FC15 for ; Thu, 17 Jun 2010 01:01:11 +0000 (UTC) Received: by pwj10 with SMTP id 10so1394096pwj.13 for ; Wed, 16 Jun 2010 18:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=PXSoK8t4hM6Z1i+KbdnK6T3LvUB89wWMiNLfd3CXjxQ=; b=i+0qaHNo1P8xFYPsoq7FOaxgisvUtrT2BO1RMyTaqu6KC35Pqc619x7/Dy8zZ2YSAw hbV6ARHhB55R21pxNi2aM4CqM3RywHAPl/TUY+jxPlG75P6v1/VgVT+alX7Czu3BvIqV q81chkdRmRH4gXGZ/vf9RYTpgmEY3ljM5d8/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=WvNRjycdcJ4hnfAcqu52xGVQacdHDlsiWcOmfRhCi6sB2BrCRBvBhRy7VYtjjVONnI T9GaPlPrnkTGmBbyxCUhOilHXgSx6ESwOBSbLiCc/zt25P0+m4kTqMrZoUqYO87sd8Wr e5qiZ9Pa6wzbYh5EY2N0cjenM7tXhtXEgIGNk= Received: by 10.142.67.27 with SMTP id p27mr6835523wfa.139.1276734835102; Wed, 16 Jun 2010 17:33:55 -0700 (PDT) Received: from LENOVO-B29C06B7 ([219.239.226.6]) by mx.google.com with ESMTPS id u18sm3777190wfh.7.2010.06.16.17.33.52 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 17:33:53 -0700 (PDT) Date: Thu, 17 Jun 2010 08:33:52 +0800 From: "Gmail" To: "freebsd-questions" Message-ID: <201006170833484613648@gmail.com> X-mailer: Foxmail 6, 15, 201, 23 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: About cross compiler from x86+redhat to i386+freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 01:01:12 -0000 Hello, every body, I am trying to build a crosscompiler with target as i386 + freebsd(6.5) and host as x86+redhat EL 5.3. I have tried the cross tool of crosstool-0.43 and crosstool-NG. Unfortunately, I have not found the two cross tool has the option with target as freebsd. So, I want to ask: 1, how to make cross compile chain with crosstool-0.xx or crosstool-NG. 2, did anyone sucessfully build the cross compiler from x86+redhat to i386+freebsd ? I have seen that John Blair try to build the same complier, has you done it? If you know how to do that, please tell me ,thank you very much! 2010-06-17 Gmail