[Top][All Lists]

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

Re: partition store

From: Roland McGrath
Subject: Re: partition store
Date: Fri, 24 Aug 2001 18:32:21 -0400 (EDT)

You probably don't need a configure --with option.  Just use AC_CHECK_LIB
and use it if it's there (or whatever configure checks you need to verify
the libparted installed works with your code).

How much cruft from libparted winds up getting linked in when you
statically link against libstore with that new module?  
Hopefully not too much.

For dynamic linking, you don't really need to do anything special at all.
You link libstore against, and that is that.

For static linking, I am inclined to suggest just including the parted
modules directly in libstore.a.  The easiest way to do this would be
"ld -r -o parted.o part.o -lparted" and then include parted.o instead of
part.o in libstore.a.

Does libparted cross-compile easily so I can build and install it to
compile my hurd against?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]