Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] looking for _divsi3

2005-06-24 by 42Bastian Schick

roelof

> This is what I use to compile and link :
>
> arm-elf-gcc -mcpu=arm7tdmi -DROM_RUN -Os -std=gnu99 -I. -c
> -mapcs-frame -Wall div_error.c -o div_error.o
> arm-elf-ld -Tlpc2292-rom-v2.ld -Map=div_error.map div_error.o crt0.o
> --output div_error.elf

Do not link with ld, use gcc for all. gcc knows where to search the 
libraries.

And BTW: I'd suggest to use Thumb mode. You'll mostly find it runs at same 
speed,
with less footprint.

-- 
42Bastian Schick

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.