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