Thank you, Stepan.

I know what's wrong now.
Some package contains out of date "config.sub" which doesn't know "--host=i386-linux-uclibc".
It's better to update this file first.


Is there a macro to check that "CFLAGS" deosn't include "-I/usr/incluce -I/usr/local/include",
"LDFLAGS" doesn't include "-L/lib -L/usr/lib -L/usr/local/lib"?


-- shuhao

Stepan Kasal wrote:

Hello,

On Wed, Apr 13, 2005 at 01:12:29PM +0800, Shuhao Chang wrote:


Howto to build a package for uclibc?
The configuration script always finds the host system include/lib files.
Should I modify autotool script?



there should be no need to modify the autoconf source.

It should be enough to specify the --host parameter to ./configure.

See the node "Specifying Names" of the autoconf manual.

Have a nice day,
Stepan Kasal





_______________________________________________ Autoconf mailing list [email protected] http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to