Re: Linux 2.6.16-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-01-18 at 21:32 +0100, Sam Ravnborg wrote:

> But in the lxdialog case we need to execute the link step, because
> what we really try to do is to check if gcc can find a specific
> library in the search path.

Will -print-file-name not do the trick for you?

$ gcc -print-file-name=libcurses.so | grep -q /
$ echo $?
0
$ gcc -print-file-name=libfoobar.a | grep -q /
$ echo $?
1

	<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux