avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] more ac branch updates


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] more ac branch updates
Date: Fri, 30 Apr 2004 08:28:43 -0700 (PDT)

On Fri, 30 Apr 2004, Joerg Wunsch wrote:

> As Theodore A. Roth wrote:
>
> > Well, running make from the top level now works and all the source files
> > are compiled into libs for every target device. I still need to generate
> > libc.a from the intermediate libs, but that shouldn't take too long to
> > get working again.
>
> Hmm:
>
> % ./bootstrap
> + test -d avr/lib
> + ./devtools/gen-avr-lib-tree.sh
> ./bootstrap: ./devtools/gen-avr-lib-tree.sh: not found

If updated and existing tree to the autoconf branch you might need to
use the -dP option to cvs update. It's probably best to just do a clean
checkout of the branch though.

The devtools/gen-avr-lib-tree.sh script is definitely in cvs though.

> + rm -rf autom4te.cache
> + aclocal17
> + autoheader257
> + autoconf257
> + automake17 --foreign --add-missing --copy
> Makefile.am:35: required directory ./avr does not exist
>
> If I try ./configure, it tells me it needs a cross compiler, and
> suggests ./configure --build=i386-unknown-freebsd5.2 --host=avr.  If I
> use the latter, I eventually end up with

To build a cross-compiler with the configure generated by the newer
autoconf/automake tools, you have to specify --build and --host and they
must be different. I tried really hard to have it automagically set in
configure.ac, but they've changed the internals making it difficult if
not impossible to do.

>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating avr-libc.spec
> config.status: creating avr/Makefile
> config.status: error: cannot find input file: avr/Makefile.in
>
> Looks to me as if you might have forgotten to add the avr subdir to
> CVS (and perhaps the devtools dir as well?).

The new avr/ dir is created and populated by the
devtools/gen-avr-lib-tree.sh script. I did this to avoid creating the
tree in cvs only to be told it's a bad implementation (i.e. to keep the
cvs repo cruft to a minimal if my idea is crap).

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden




reply via email to

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