lkml.org 
[lkml]   [2006]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.16-rc1
On Wed, Jan 18, 2006 at 12:54:37PM -0800, Bryan O'Sullivan wrote:
> 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
Much better - thanks!
I will push out a new path tomorrow.

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

\
 
 \ /
  Last update: 2006-01-18 22:23    [W:0.066 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site