From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 16:45:03 2008 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 21E881065673 for ; Wed, 30 Jul 2008 16:45:03 +0000 (UTC) (envelope-from wyattnealster@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id D4AC88FC08 for ; Wed, 30 Jul 2008 16:45:02 +0000 (UTC) (envelope-from wyattnealster@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so73029pyb.10 for ; Wed, 30 Jul 2008 09:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/feuFeQA4Jy+emhsC995dlVPmIk0UbRiDK5rvjFaxUM=; b=ZtTR3cmof77JwOFBjCFpl2fqM7vO++Y9sCT5lpk84/qA/QhoilE9jz6n6QXDR5AbO6 duNjLq4zvgarvN8cghN4BEzWm0NzCI3AIdiT/cNqJofw01V4ffXuVmSyRFyDn/pzU08u 4S7PXy6w94pTElRlboRadmgWV3QTUMP+gjN/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CVx6Hdy5ccbvK8BNQWQhsZp7djKg7zTomAF+Xfa89ay8wUkyzZlGxwAX2TKMY957+X 9wkGdgnqSGEEfMPzT1rkyUce1dGA0GV4Zjf03F21ObmK4O4HHebu/Yspq5+/ZeysTNIe Br5M6Uy1zGaeQzTk+vkO46KroZZKf4FVbG9q8= Received: by 10.141.198.9 with SMTP id a9mr4526403rvq.108.1217436301495; Wed, 30 Jul 2008 09:45:01 -0700 (PDT) Received: by 10.150.226.6 with HTTP; Wed, 30 Jul 2008 09:45:01 -0700 (PDT) Message-ID: <437096a00807300945y22cad8a3pe20c59ce80fb9c55@mail.gmail.com> Date: Wed, 30 Jul 2008 12:45:01 -0400 From: "Wyatt Neal" To: "Roland Smith" In-Reply-To: <20080730162114.GA87099@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <437096a00807291747k4f524f78h148ecd88704060ad@mail.gmail.com> <20080730162114.GA87099@slackbox.xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: difficulty building a cross-compiler with a fresh install 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: Wed, 30 Jul 2008 16:45:03 -0000 the cross compiler i'm looking to build is one to produce i386 compatable system v elf executables for freebsd. the default gcc installed with freebsd 6.1 produces i386 compatible freebsd elf executables, not system v. i've also found that i'm apparently building gcc improperly and with the wrong version of binutils; however, changing the binutils to the correct version hasn't helped and i'm still waiting on gcc's build to get to/past the point where it's been crashing out. On 7/30/08, Roland Smith wrote: > On Tue, Jul 29, 2008 at 08:47:42PM -0400, Wyatt Neal wrote: > > greetings, > > > > i've been running with a freebsd 6.1 system for a few days and i'm > > having some oddities when trying to build a cross compiler on the > > system. > > You don't say _what_ kind of cross-compiler you want. > > Use the available cross-compilers from ports. There is a good chance > someone else has already sorted it out. > > You can find a complete list of cross-compilers with > 'ls /usr/ports/devel/*-gcc/Makefile': > > /usr/ports/devel/arm-rtems-gcc/Makefile > /usr/ports/devel/avr-gcc/Makefile > /usr/ports/devel/cross-gcc/Makefile > /usr/ports/devel/djgpp-gcc/Makefile > /usr/ports/devel/i386-rtems-gcc/Makefile > /usr/ports/devel/i960-rtems-gcc/Makefile > /usr/ports/devel/m68k-rtems-gcc/Makefile > /usr/ports/devel/mingw32-gcc/Makefile > /usr/ports/devel/mips-rtems-gcc/Makefile > /usr/ports/devel/msp430-gcc/Makefile > /usr/ports/devel/powerpc-gcc/Makefile > /usr/ports/devel/powerpc-rtems-gcc/Makefile > /usr/ports/devel/sh-rtems-gcc/Makefile > /usr/ports/devel/sparc-rtems-gcc/Makefile > > Note that cross-gcc is a master port for most of the others except > mingw32-gcc. If you want to cross-compile for win32, use mingw32-gcc. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > >