[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with rewriting compile rules.
From: |
Charles Zhang |
Subject: |
Re: Help with rewriting compile rules. |
Date: |
Fri, 1 Dec 2006 09:53:36 -0800 (PST) |
HI, Eric, thanks for the reply. I tried your suggestion. I have two issues:
1. "configure" failes its tests of C compilation on the shell since it tries to
use my shell scripts. I tried to comment out "AC_PROG_CC" and it didn't seem to
disable the check after "autoreconf".
2. i also need to inherit the options on the compile line like file name and
CFLAGS. Can I do that with your suggestion?
Thanks again.
Charles
Yawn !!
----- Original Message ----
From: Eric Blake <address@hidden>
To: Charles Zhang <address@hidden>
Cc: address@hidden
Sent: Thursday, November 30, 2006 10:45:03 PM
Subject: Re: Help with rewriting compile rules.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Charles Zhang on 11/30/2006 3:19 PM:
> Hi, people, I want to alter the default C compilation steps by introdcuting
> some intermediate preprocessing steps. Which autoconf rule should I change or
> redefine? Or maybe this is an automake problem? I'm new to this. Any help is
> appreciated.
I would write a script that does the preprocessing and calls mytool, put
that on my path, then invoke ./configure CC=myscript.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFb6U/84KuGfSFAYARAvqCAKCrlEr15TX2R/2gQhGmHd+DdYceOwCdH4FY
Fv1e4Cc1ghVP3fuRLkH/cvs=
=grau
-----END PGP SIGNATURE-----