View Single Post

   
  #3 (permalink)  
Old 02-21-2008, 07:12 AM
Glen Vermeylen
 
Posts: n/a
Default Re: Using autotools.. help!

Anno v. Heimburg wrote:
> Glen Vermeylen wrote:
>
>>I hate to ask this question, but I've really searched (a LOT) for/into
>>documentation on automake/autoconf/autoscan/header/...

>
>
> Here are the original docs. That's how I learned it (searched long enough
> for more beginner-friendly stuff, but no). Have fun*:
>
> http://www.gnu.org/software/autoconf/manual/
> http://www.gnu.org/software/automake/manual/
> http://www.gnu.org/software/libtool/manual.html
>
> Anno.
>
> *) Certain amount of sarcasm may be contained in this phrase
>
>

Aarghl, those are the ones I don't understand
Everywhere they say: it reads this, uses that, outputs this, checks
for.., requires...,...
But no-where a why!


..... After a few hours I saw this unsent newspost...
Status-update:
Although I've gotten automake to create makefiles twice in a row I still
don't understand how it works. The first time it just worked after
fiddling long enough... the second time it kept complaining about
AM_INIT_AUTOMAKE not used in configure.ac (it was, btw), but then using
aclocal-1.7 and automake-1.7 it gave an completely new error, I added
the missing AC_PROG_CXX to configure.ac, ran all the tools again and my
makefile's were created... I still don't know how... but they're there .
So not only is it a hell to learn, but I have to be careful of which
version I should use.

Next problem :
for this wx-windows project g++ needs flags `wx-config --cxxflags` for
the object files and `wx-config --libs` for the resulting executable.
Where and how do I put them? Slowly but steadily we're getting there ...
Reply With Quote