ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: Trying to setup for developement.
From: Triffid Hunter <>
Date: Sat, 12 Jan 2008 10:01:55 +1000 (EST)
On Fri, 11 Jan 2008, Richard wrote:
>
> 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.

I'm using SLED 10.2 at work, and I simply unpacked a crosstool tarball and 
everything worked.

> 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?

Sort of. The most basic way to explain a makefile is like this:

to make this file: we need these files
        then do this
        and this

When you run make, it starts at the first rule (or the rule named on the 
commandline), and if it doesn't exist or is older than its dependencies, 
it first checks the dependencies then runs the associated commands.

Checking the dependencies involves checking the dependencies' 
dependencies, then remaking if it's older etc etc until either everything 
is built or an error occurs.

The end effect of this, is that you can change one file, then make will 
rebuild everything affected by that file in the proper order.

usually, the first rule is called 'all', which "needs" your target binary.

Make has wildcards to simplify things, so you can have a generic rule for 
creating .o files from .c files.

Ask google for tutorials for the rest of the details :)

> 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.

I use kate and a terminal.


 
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