Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Regarding C and assembly file compilation and linking

2004-05-12 by Robert Adsett

At 02:35 AM 5/12/04 +0000, you wrote:
>--- In lpc2000@yahoogroups.com, "Leon Heller" <leon_heller@h...> wrote:
> > Here is a batch file for compiling and linking a simple program:
> >
> > arm-elf-gcc -Tlpc2106-rom.ld -nostartfiles
>-Wl,-Map=led.map,--cref,-nostdlib
> >  -s -o led boot.s led.c
> > arm-elf-objcopy --output-target ihex led led.hex
> > arm-elf-objcopy --output-target binary led led.bin
>
>
>Hi, Leon, I have downloaded the lpc2100_gcc.zip from yahoo group and
>can't find the led.map, where can I find it? or
>I should define it my own??
>
>Thanks.
>
>senz

led.map is an output file, not an input file.  It is the map file from the 
link phase.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.