Re: [PATCH] kconfig: detect if -lintl is needed when linking conf,mconf

From: Kyle McMartin
Date: Thu Feb 09 2006 - 00:42:36 EST


On Mon, Jan 30, 2006 at 01:26:47PM -0500, Robb, Sam wrote:
> This patch attempts to correct the problem by detecting whether or not
> NLS support requires linking with libintl.
>

Sigh. Can everyone please stop assuming gcc can output to /dev/null? On
several platforms, ld tries to lseek in the output file, and fails if it
can't.

Is there any reason this problem can't be solved the same way it is
for libcurses in menuconfig, by using gcc -print-filename? Or perhaps
using tempfile?

Cheers,
Kyle
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/