[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(NM)
From: |
Ralf Corsepius |
Subject: |
Re: $(NM) |
Date: |
Thu, 20 Apr 2006 06:50:10 +0200 |
On Wed, 2006-04-19 at 14:17 +0200, Baurzhan Ismagulov wrote:
> Hello all,
>
> 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).
Pardon, there seems to be some miscommunication.
Nothing in autoconf nor automake's macros checks nor uses "nm".
If a Makefile wants to use NM it must check for it by itself.
Normally, the corresponding configure.ac will want to use some
auto*magic around AC_CHECK_TOOL.
> Regarding BUILD_CC,
> I guess I'll have to hack AC_PROG_CC.
Well, there are much better approaches. If you want to avoid hacking
autoconf macros, you're better off splitting the source tree into 2
parts, a $host and a $build compiled subtree and implement a separate
toplevel configure script, calling these subtree's configure scripts
with appropriate --host/--build pairs. Unfortunately autoconf doesn't
provide any support for this.
Ralf
- $(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, 2006/04/19
- Re: $(NM),
Ralf Corsepius <=
- Re: $(NM), Ralf Wildenhues, 2006/04/20
- Re: $(NM), Baurzhan Ismagulov, 2006/04/20