avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Use of autoconf/automake with avr-gcc


From: Nick Downing
Subject: Re: [avr-gcc-list] Use of autoconf/automake with avr-gcc
Date: 12 Jun 2003 11:56:55 +1000

dear Ted,

> Which autoconf/automake versions are you using?
> 
> Can you send me your configure.ac file? Easier to help if I have that.
> 
> You really don't want to use the avrN mmcu types when compiling your
> program. Use the actual device type instead (e.g. -mmcu=atmega128).

I'm using autoconf 2.53 and automake 1.6.3, I am pretty sure they were
installed from a RedHat 8.0 CD set.  Thanks a lot for your comments and
suggestions, I didn't attach my configure.ac file yet, because your
suggestion of using a specific AVR devicetype has fixed the problem.  I
ended up rewriting the configure.ac file completely, but that's OK, I'm
only learning and it has been very educational.  When it's ready, I'll
post the complete package (similar to GNU Hello) for everyone to use.

talk soon,
cheers,
Nick

ps.  I checked out the link you posted, re. the "If you wanted to
specify the build system type, don't use --host.  If a cross compiler is
detected then cross compile mode will be entered." warning.  I think it
sucks, so I came up with a "sed" script which edits my final "configure"
script to remove this warning.  Unfortunately the end user might edit
"configure.ac" and then run "make" in which case the warning comes back,
but I decided to ignore this possibility and edit "configure" anyway.

pps.  Thanks for your comments Russell, I took them on board but I
decided in my situation we definitely want to use autotools, somehow
these "small" projects always end up growing out of control, and I am
trying to stay in control from the beginning, by coding the needed
Autoconf tests and making sure all options are setup via "config.h".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]