[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 19 Apr 2006 14:17:20 +0200
thanks much for all the answers!
To summarize: configure does check for nm ("checking for BSD-compatible
nm... /usr/bin/arm-linux-nm -B"), but doesn't set it in Makefile.in (I
did regenerate all files). I can live with AC_SUBST. Regarding BUILD_CC,
I guess I'll have to hack AC_PROG_CC.
With kind regards,
On Tue, Apr 18, 2006 at 11:27:26AM -0700, Noah Misch wrote:
> On Tue, Apr 18, 2006 at 07:53:13PM +0200, Baurzhan Ismagulov wrote:
> > AC_SUBST(NM, "$NM")
> > Questions:
> > 1. Why isn't it available to make by default, like $(CC)?
> It should be. Automake needs to regenerate `Makefile.in' to add the `NM =
> line, but this should happen automatically when you edit `configure.ac' and
> run `make'.
> Try regenerating everything. Does `Makefile.in' then contain `NM = @NM@'? If
> yes, and it still does not work, perhaps that nothing in `configure' sets $NM.
> In that case, you will need to decide how to identify a proper value for $NM
> then set it accordingly.
> > 2. $(CC) is the compiler generating code for the host system. What is
> > the var containing the name of the compiler generating code for the
> > build system?
> None of Autoconf, Automake, or Libtool detect such a compiler, so they do not
> provide the name of one in any variable. You will need to detect such a
> compiler in `configure' and then substitute it in a variable of your choice.
- $(NM), Baurzhan Ismagulov, 2006/04/18
- Re: $(NM), Noah Misch, 2006/04/18
- Re: $(NM), Ralf Wildenhues, 2006/04/18
- Re: $(NM), Ralf Corsepius, 2006/04/19
- Re: $(NM),
Baurzhan Ismagulov <=