On Sat, Jan 14, 2006 at 01:13:44PM +0300, Evgeniy Dushistov wrote:
> Hello.
> 
> I want to build fsck.jfs without dependencies
> on any shared libraries.
> 
> I have on my machine jfsutils-1.1.10.
> 
> ldd /sbin/fsck.jfs give something like this:
> linux-gate.so.1 =>  
> libuuid.so.1 => /lib/libuuid.so.1
> libc.so.6 => /lib/libc.so.6 
> /lib/ld-linux.so.2 
> 
> grep "configure --help" did give any suitable results,
> hence question:
> 
> is it possible to build fsck.jfs staticaly?

Yes, run configure like this:

CFLAGS="-static" ./configure

and that should do it

Sonny


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to