From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 16:48:15 2009 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 4F66F1065672 for ; Fri, 12 Jun 2009 16:48:15 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id E87F48FC12 for ; Fri, 12 Jun 2009 16:48:14 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so1268591ana.13 for ; Fri, 12 Jun 2009 09:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=gG8U8mfTTwqRSEuWRDpJx+/W8JctGRRyL91GMOsrQcM=; b=Ld27grZPceKDjWV6iEhlyxYsP/M53nk74mAxEexdJLS7wdLu4Exfz6JMnraCtVfJFI A5WqMmaZCoRxEs/XwKpImAPPnL9hKzFkYlBq/LIQ3j6FuQNu7WFSkbWIBw65BBC6tgV9 kSBHbwxPMGzwKKfuRzdtU2X4n7ePlqGloopg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=cCLP9/khE6kNsRQV0zyaBc4Eo6fSptTsExlBObaFhaZFPXss7GdfMJEb+rDzvt0Yei UYMFjoUTYYs+hBLsElcm9YOys3gnaVZWEO3T7EcK7WzyBV+M5uIMlIgxrl4td+/rPife Rh1iGsYIDdpqVAn+MVpGkY6/+hnubNZMxvC9k= MIME-Version: 1.0 Received: by 10.100.6.16 with SMTP id 16mr5143410anf.52.1244825294258; Fri, 12 Jun 2009 09:48:14 -0700 (PDT) Date: Fri, 12 Jun 2009 09:48:14 -0700 Message-ID: <539c60b90906120948p539a099bn37b7dca5ac5531ed@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Stanislav Sedov Subject: another cross-gcc question ("can't compute suffix of object files") 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: Fri, 12 Jun 2009 16:48:15 -0000 Sorry to be such a pest, I'm trying to go from being a good hardware programmer to a good OS programmer, but there's alot to pick up to be FreeBSD proficient... Can't seem to do a vanilla cross-gcc on my home system, which works fine on my work machine, both of them are recent 7.2 installs... I don't even know what other info would be needed to track this down. My machine is pretty much useless without an arm compiler - that's what I do for work. Best, Steve [steve@terra /usr/ports/devel/cross-gcc]$ sudo make MULTILIB_OPTIONS="mno-thumb-interwork/mthumb-interwork" MULTILIB_DIRNAMES="normal interwork" TGTARCH=arm TGTABI=elf WITH_FLOAT_TYPE=soft install ... gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/gcc' Checking multilib configuration for libgcc... mkdir arm-elf mkdir arm-elf/libgcc Configuring in arm-elf/libgcc checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... gawk checking build system type... i386-portbld-freebsd7.2 checking host system type... arm-unknown-elf checking for arm-elf-ar... /usr/local/arm-elf/bin/ar checking for arm-elf-lipo... arm-elf-lipo checking for arm-elf-nm... /usr/ports/devel/cross-gcc/work/build/./gcc/nm checking for arm-elf-ranlib... /usr/local/arm-elf/bin/ranlib checking for arm-elf-strip... /usr/local/arm-elf/bin/strip checking whether ln -s works... yes checking for arm-elf-gcc... /usr/ports/devel/cross-gcc/work/build/./gcc/xgcc -B/usr/ports/devel/cross-gcc/work/build/./gcc/ -nostdinc -B/usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/ -isystem /usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/targ-include -isystem /usr/ports/devel/cross-gcc/work/gcc-4.3.2/newlib/libc/include -B/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/arm -L/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/libnosys -L/usr/ports/devel/cross-gcc/work/gcc-4.3.2/libgloss/arm -B/usr/local/arm-elf/bin/ -B/usr/local/arm-elf/lib/ -isystem /usr/ports/devel/cross-gcc/work/build/./gcc -isystem /usr/local/arm-elf/include -isystem /usr/local/arm-elf/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/cross-gcc. *** Error code 1 Stop in /usr/ports/devel/cross-gcc. [steve@terra /usr/ports/devel/cross-gcc]$ which gcc /usr/bin/gcc [steve@terra /usr/ports/devel/cross-gcc]$ gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [steve@terra /usr/ports/devel/cross-gcc]$