From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22111 invoked by alias); 22 Jan 2008 18:27:40 -0000 Received: (qmail 22097 invoked by uid 22791); 22 Jan 2008 18:27:39 -0000 X-Spam-Check-By: sourceware.org Received: from hs-out-0708.google.com (HELO hs-out-2122.google.com) (64.233.178.245) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Jan 2008 18:27:17 +0000 Received: by hs-out-2122.google.com with SMTP id z77so3243479hsz.14 for ; Tue, 22 Jan 2008 10:27:15 -0800 (PST) Received: by 10.114.78.1 with SMTP id a1mr7373856wab.14.1201026434180; Tue, 22 Jan 2008 10:27:14 -0800 (PST) Received: by 10.115.88.19 with HTTP; Tue, 22 Jan 2008 10:27:14 -0800 (PST) Message-ID: <2a3305fe0801221027o7553ed10of121278cb931604f@mail.gmail.com> Date: Tue, 22 Jan 2008 18:27:00 -0000 From: "Mike Arthur" To: "ANILA SOOMRO" Cc: "Antoine Zen-Ruffinen" , "eCos Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2cbbd8de0801110231p559aa23dqd024ecb07a47a40b@mail.gmail.com> <2cbbd8de0801110431q2a7fd7bfh4350b8b79df1f413@mail.gmail.com> <2cbbd8de0801140451v4f862e16mdfd9e68ed7f4603@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] target.ld error X-SW-Source: 2008-01/txt/msg00136.txt.bz2 > I choose the PowerPC simulator target and build it. Did you build your kernel library with the PowerPC compiler or your native compiler (gcc) ? What's the value of CYGBLD_GLOBAL_COMMAND_PREFIX in your kernel configuration? If you don't know how to find the value of CYGBLD_GLOBAL_COMMAND_PREFIX: 1.) Select Edit -> Find... in the ConfigTool. A find dialog box should pop up. 2.) Set the "Search In" field to "Macro Names" 3.) Search for CYGBLD_GLOBAL_COMMAND_PREFIX It should be "powerpc-eabi-". If it is, then you've been compiling with the powerpc-eabi-gcc compiler that's on your Windows machine. That's a good thing! > My installation or build directory is c:\eCos-Work\PPC_install. > After doing this and following the user guide, I try to compile the hello.c example. > When I use the powerpc-eabi-gcc command, I get this error: bash: powerpc-eabi-gcc: command not found. This means that either you don't have have the powerpc-eabi-gcc compiler, or (more likely) that the command's path is not in your PATH environment variable. Usually the eCos cross compilers reside in C:\cygwin\opt\gnutools. My powerpc-eabi-gcc resides in: C:\cygwin\opt\gnutools\powerpc-eabi\bin\powerpc-eabi-gcc Make sure to use a cygwin formatted path (i.e. /cygdrive/c/...). Hope this helps, Mike -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss