ts-7000
[Top] [All Lists]

Re: [ts-7000] about compiling under TS7400

To:
Subject: Re: [ts-7000] about compiling under TS7400
From: Mel Wilson <>
Date: 10 Mar 2007 08:41:05 -0800
Date: Sat, 10 Mar 2007 11:04:50 -0500
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/


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU