avrdude-dev
[Top][All Lists]
Advanced

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

RE: [avrdude-dev] Build under Cygwin & Auto Tools versions


From: E. Weddington
Subject: RE: [avrdude-dev] Build under Cygwin & Auto Tools versions
Date: Tue, 06 Jan 2004 09:20:20 -0700

On 6 Jan 2004 at 23:42, Alex Shepherd wrote:

> Hi Ted,
> 
> > Have a look at the bootstrap script. I'm using automake 1.7.9 though.
> > 
> > Attached is a wrapper script for bootstrap which I use to 
> > make sure the right versions are found on my system since I 
> > have many versions of the tools installed.
> 
> Ok now I have a working cygwin system again, however I still have
> problems with the bootstrap
> 
> It seems the test for autoconf 2.57 is not working correctly as I think
> I have it installed. Or it is finding the older 2.13 stable version
> somehow.
> 
> There seems to be a autoconf wrapper that allows either the stable or
> devel version to be used based on environment variables but after
> reading the docs there might be an issue with this.
> 
> Is anyone with a working cygwin system using the auto[conf/make] wrapper
> or did you just install the 2.5x version? 
> 

Oh, oh wait!..... I almost forgot....

Add the lines below *before* bootstrap... IIRC, this solved the problem.
Here's what I use to build avrdude. Replace the variables with your directories 
of course.

-----------------------
export ACLOCAL=aclocal
export AUTOHEADER=autoheader
export AUTOCONF=autoconf
export AUTOMAKE=automake

./bootstrap
cd $BUILDDIR
../configure --prefix=$INSTALLDIR --datadir=$INSTALLDIR --sysconfdir=$BINDIR
make LDFLAGS="-static"
make install
#make dist
#make distcheck > distcheck.log 2>&1
---------------------------

Uncomment the last two lines and 'make distcheck' has to succeed before 
approving avrdude for a release.

Also, after this, I also strip the executables (avrdude.exe, loaddrv.exe), 
convert the avrdude.conf line endings to Windows (you can use the todos.exe 
utility that ships with WinAVR), and if exists, delete the backup of the 
avrdude.conf file in the installation directory.

HTH
Eric






reply via email to

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