Michael> Does this work for you? Is mthca.a created?

I just tried this:

    $ ../libmthca/configure  --enable-static 
CPPFLAGS=-I$(pwd)/../libibverbs/include --prefix=$HOME/junk
    $ make
    $ make install

and I get this:

    $ tree ~/junk
    /data/home/roland/junk
    `-- lib
        `-- infiniband
            |-- mthca.a
            |-- mthca.la
            `-- mthca.so

so yes, it looks like it works.

    Michael> Put another way - whats the harm in always building the
    Michael> static version as well? Other libraries (e.g. libibverbs)
    Michael> build both static and shared versions by default.

I don't think of libmthca as a library really.  It's a plug in loaded
by libibverbs.  In some specialized circumstances it may be useful to
build it statically but in general it's just unneeded confusion.

 - R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to