Re: [ecasound] Autoconf crap+ecaosound

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Autoconf crap+ecaosound
From: Ed L Cashin (ecashin_AT_uga.edu)
Date: Tue Mar 12 2002 - 03:47:48 EET


"Dan J Lyons" <dan.lyons_AT_angelfire.com> writes:

> On 09 Mar 2002 13:52:25 -050
> Ed L Cashin wrote:
>
> >I like autoconf a lot but I don't think it's possible to use it
> >properly without going through the manual and actually learning about
> >it.
>
> RTFM huh? Still, it's only a compiler.. how much crap you gotta
> read... maybe those JAVA developers were actually onto something with
> their processor independent notions (Just kidding! Java developers
> couldn't really have been onto something good in my opinion)

Yeah, C programmers must use autoconf so that their code works on
multiple native platforms; java programmers must include many
workarounds for the bugs in all the different JVM's that they want
their software to run on.

> >I don't use automake because it would require the users to have GNU
> >make, and it's just as easy for me to generate explicit dependencies
> >with a script and write makefiles to the lowest common denominator.
>
> Yeah, if you happen to know how to write makefiles for the lowest
> common denominator!!

Hmm. I didn't happen to know, so had to go learn it a couple months
ago. It was fun but not easy. Maybe I should write a little synopsis
of what I found.

> I gave up on caring about makefiles when I noticed that our cleanly
> developed makefiles didn't cover when our header files were modified
> but not our .c files - causing some spurious effects!

That's what makefiles are *for*! :)

# foo.c includes header bar.h, so it's in the list of dependencies

foo.o : foo.c foo.h bar.h makefile
        ${CC} ${CPPFLAGS} ${CFLAGS} -c $<

I have a script that can generate a list of those dependencies:

  http://noserose.net/e/code/depgen

I wrote it because it was easier than using the compiler's "-MM"
feature.

> Anyhow, I'm trying to develop "Geek Effects" (g-eca-effects) - a
> guile/gnome/GTK GUI for ecasound for realtime effects processing.

Good luck with that! It sounds nice.

-- 
--Ed L Cashin            |   PGP public key:
  ecashin_AT_uga.edu        |   http://noserose.net/e/pgp/

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Mar 12 2002 - 03:37:30 EET