ts-7000
[Top] [All Lists]

[ts-7000] Re: Trying to setup for developement.

To:
Subject: [ts-7000] Re: Trying to setup for developement.
From: "Richard" <>
Date: Fri, 11 Jan 2008 23:14:24 -0000
> Okay, so bunzip your toolchain tarball in some directory. In my 
case, it 
> ended up creating this path:
> 
> /home/ts7200/arm-none-linux-gnueabi/
> 
> (I was in /home/ts7200 when I bunzipped the toolchain tarball). 
Inside 
> that directory is a bin/ directory which contains your toolchain. 
If you 
> want to compile hello.c for your TS-board all you need to do is
> 
> /home/ts7200/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc 
> hello.c -o hello
> 
> Typically, you would add this bin/ directory to your path so you 
can 
> omit a chunk of this string:
> 
> PATH="/home/ts7200/arm-none-linux-gnueabi/bin:$PATH"
> 
> Put that line in your ~/.bashrc or ~/.bash_profile (if you are 
using 
> bash as your shell), or wherever your shell configuration sources 
its 
> environment variables. Resource this file after you change it until 
you 
> re-log in (or log out and log back in again). Check it with:
> 
> env | grep PATH
> 
> Now you've reduced your command to
> 
> arm-none-linux-gnueabi-gcc hello.c -o hello
> 
> If you do a lot of command line compiling you will want to define 
an alias:
> 
> alias ccarm="arm-none-linux-gnueabi-gcc"
> 
> But typically, you work with Makefiles within which you either 
define
> 
> CC=arm-none-linux-gnueabi-gcc
> 
> or
> 
> CROSS_COMPILE ?= 
> /home/ts7200/2.6/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
> 
> and it will append the tool it wants to this string. Note that the 
PATH 
> changes aren't necessary for this method.
> 
> Of course, you want to substitute the name of your toolchain for 
> "arm-none-linux-gnueabi"
> 
> Try that.
> 
> --Jeff
>

Ok this is the stuff I am looking for however I still have a few 
questions.  First, where would the environment variables location be 
for SUSE 10.3.  Second Are there any usefull links on how to use and 
create make files.  I have herd of these being used a lot in 
programming however my programming background consist mainly of 
Borland and Embedded Visual Studio 3.0 and these program I believe 
handle the stuff you use make files for.  Even with programming for 
PIC's and other microcontrollers I have never had to use makefiles.  
>From my understanding a makefile is a glorified batch or script, is 
this correct?  As for my work environment the operating system is 
SUSE 10.3 and the programming tool I am deciding between EMACS and 
Eclipse.   I head EMACS is a very powerful tool but it's not as user 
friendly, a really popular choice for the command addicts.  Eclipse 
is a more user friendly program that is similar to Borland or Visual 
Studio.  



 
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