public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Pawel Sikora <pluto@agmk.net>
To: gcc-help@gcc.gnu.org
Cc: Hadi Aminzadeh <hadi60@gmail.com>
Subject: Re: ARM7TDMI problem
Date: Tue, 11 Oct 2011 11:26:00 -0000	[thread overview]
Message-ID: <1940647.gTgg5D6ro0@pawels> (raw)
In-Reply-To: <CANWn+yFWoFZurEuHdskSitRo1W6ereiNNG8-gw=sQQwPC9TNvg@mail.gmail.com>

On Tuesday 11 of October 2011 14:35:30 Hadi Aminzadeh wrote:
> Hi Dear,
> 
> I have a LPC2478 arm processor and want to use gcc to cross compile my
> code in x86 for LPC2478
> I use arm-linux-gnueabi-gcc to do that but (I think) the output of gcc
> is an application that can be run in arm ported linux kernel but I
> need Intel HEX-like format that can be programmed to micro controller
> (I haven't any OS)
> I haven't any idea what to do or what keyword I must search.

you basically need a proper linker script for small embedded device.
please, see an example at http://www.dreamislife.com/arm/ -> lpc2106_gcc.zip
and search arm groups for similar one tuned for LPC2478...

  reply	other threads:[~2011-10-11 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANWn+yESRriP137hJHtL2J5oWTuQnq9t3a=paJSQvU-RyAbVAw@mail.gmail.com>
2011-10-11 11:06 ` Hadi Aminzadeh
2011-10-11 11:26   ` Pawel Sikora [this message]
2011-10-12 16:42     ` Hadi Aminzadeh
2011-10-12 17:51       ` Paweł Sikora
     [not found]         ` <CANWn+yEDQyw9_LKfsxeNLHo6_EYdyg1pbnfFGSv442bnwq=bWQ@mail.gmail.com>
2011-10-13  5:50           ` Paweł Sikora
2011-10-13 11:11             ` Hadi Aminzadeh
2011-10-13 11:18               ` Pawel Sikora
2011-10-11 11:29   ` Kai Ruottu

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=1940647.gTgg5D6ro0@pawels \
    --to=pluto@agmk.net \
    --cc=gcc-help@gcc.gnu.org \
    --cc=hadi60@gmail.com \
    /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).