From owner-freebsd-arm@FreeBSD.ORG Tue Oct 9 09:23:19 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9529CA54 for ; Tue, 9 Oct 2012 09:23:19 +0000 (UTC) (envelope-from rosettas@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 446C78FC14 for ; Tue, 9 Oct 2012 09:23:18 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so7804085vcb.13 for ; Tue, 09 Oct 2012 02:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bpCVPQkFF7miYBZMnbzfOgi7cR2Tey+g9gX+BfbaGJc=; b=BvrPiPhnn74K7v5LFNiXFX9Pg4C05+8oXtpp6FIh6/CP7voRcu+jaCwV+MB/SDOJTB pjcCOZev733HIhzPyS+BBo+7TuEytOYCLmc8un+vsrvMx2Reyq7lTxgdem+rNUJi/S/j Iulc1/rDnR+we0gHod9LuFBvJPWeIduQbr2hLcHceKyHo/KsY1gAAxdJ2gjJIssaplFF /YbMfYFeAck5cJqW42KVlNlaQ0GNNzPdt5WJF1XMTQ+VyfclhFBVkTxFyNJQD3cF6ByE 1LMc15DTfEYB9EjVNaPpNBDh3JU3F3G2/pxV9MKTKtC8egN/GR0lbOQW2+BcUxZTBEV/ Kovw== MIME-Version: 1.0 Received: by 10.52.144.72 with SMTP id sk8mr9287437vdb.35.1349774597165; Tue, 09 Oct 2012 02:23:17 -0700 (PDT) Received: by 10.58.169.70 with HTTP; Tue, 9 Oct 2012 02:23:17 -0700 (PDT) Date: Tue, 9 Oct 2012 11:23:17 +0200 Message-ID: Subject: arm-eabi cross toolchain From: Cos Chan To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 09:23:19 -0000 Dear All I am planning build a toolchain in FreeBSD 9 for ARM processor Samsung 2440, the target system is Linux I have built /usr/ports/devel/cross-binutils and /usr/ports/devel/cross-gcc by these options: $ sudo make TGTARCH=arm TGTABI=eabi install the building is successful and all programs installed to /usr/local/arm-eabi/. Then I tested a helloworld program building here: $ /usr/local/arm-eabi/bin/gcc hw.c gcc: error trying to exec 'cc1': execvp: No such file or directory Seems the error is cc1 missing, How can I solve this problem? Another small question is how can I redefin cc to /usr/local/arm-eabi/bin/gcc but not default one. I have tried environment variable but not working, still old one. -- with kind regards Cos