Tuğrul GÜÇLÜ wrote:
>> I 'm newbie to TS7400 board and development kit.
> I developed my application under Mandrake 10,1 with gcc installed.
> But now i guess i have to compile it for arm920t
> Can someone tell me how to do that?
I'm not at work where I can check for sure, but basically we
- installed a crosstool-cygwin* toolchain under our cygwin directory
(I think it was in opt/crosstools , or something with a similar name
- added the path to the crosstools bin directory to our Windows user path
- put these lines in our application's Makefile:
CROSS_COMPILE = arm-unknown-linux-gnu-
AS = $(CROSS_COMPILE)as
AR = $(CROSS_COMPILE)ar
CC = $(CROSS_COMPILE)gcc
CPP = $(CROSS_COMPILE)cpp
LD = $(CROSS_COMPILE)ld
NM = $(CROSS_COMPILE)nm
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
RANLIB = $(CROSS_COMPILE)ranlib
READELF = $(CROSS_COMPILE)readelf
SIZE = $(CROSS_COMPILE)size
STRINGS = $(CROSS_COMPILE)strings
STRIP = $(CROSS_COMPILE)strip
export AS AR CC CPP LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS
STRIP
CPPFLAGS = -mcpu=arm9
CFLAGS = -Wall
From that point on, our application builds went normally.
Good Luck, Mel.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|