public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: ANILA SOOMRO <dranne27@hotmail.com>
To: Mike Arthur <arth2219@gmail.com>
Cc: Antoine Zen-Ruffinen <antoine.zen@gmail.com>,
	eCos Mailing List 	<ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] target.ld error
Date: Wed, 23 Jan 2008 06:32:00 -0000	[thread overview]
Message-ID: <BLU111-W46C827C5E70E0ED3565589D83F0@phx.gbl> (raw)
In-Reply-To: <2a3305fe0801221027o7553ed10of121278cb931604f@mail.gmail.com>



It helped. Thanks.

I was building the kernel library with the right compiler but the problem was with my path. After adding the path to XP settings, everything started working.

However when I run the program I get the following instead of the program output:

Starting program: /ecos-c/ecos-work/PPC_install/a.out
core_find_mapping() - access to unmaped address, attach a default map to handle
this - addr=0xf000101a nr_bytes=0x1 processor=0xc871c0 cia=0x4514

I don't know how to get around this. Also, let me tell you when I use the config tool to build the library for PowerPC simulator target, I get certain conflicts. I just continue building. Is the above error due to the conflicts?

Thanks
dranne



> Date: Tue, 22 Jan 2008 12:27:14 -0600
> From: arth2219@gmail.com
> To: dranne27@hotmail.com
> Subject: Re: [ECOS] target.ld error
> CC: antoine.zen@gmail.com; ecos-discuss@ecos.sourceware.org
>
>> 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

_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2008-01-23  6:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BLU111-W317191F97CB76ED8313455D84B0@phx.gbl>
2008-01-11 10:32 ` Antoine Zen-Ruffinen
     [not found]   ` <BLU111-W1105E0211A6739699F4AA5D84B0@phx.gbl>
2008-01-11 12:31     ` Antoine Zen-Ruffinen
2008-01-14 12:51       ` Antoine Zen-Ruffinen
2008-01-22  6:40         ` ANILA SOOMRO
2008-01-22 18:27           ` Mike Arthur
2008-01-23  6:32             ` ANILA SOOMRO [this message]
2008-01-11  8:01 ANILA SOOMRO
2008-01-11  8:52 ` Antoine Zen-Ruffinen
2008-01-11 10:43 ` Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU111-W46C827C5E70E0ED3565589D83F0@phx.gbl \
    --to=dranne27@hotmail.com \
    --cc=antoine.zen@gmail.com \
    --cc=arth2219@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).