Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Compiling hwloc into a static library on Windows and Linux
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-01-09 20:32:14

On Jan 9, 2012, at 5:25 PM, Samuel Thibault wrote:

>> However, when I specify the --enable-embedded-mode flag in configure in Linux,
>> no libraries are built at all - the specified prefix directory contains only
>> empty directories.
> But the library is built, it's just not installed because projects often
> prefer to link the library in, or something similar. If you want to
> install libhwloc.a, simply fetch it from src/.libs/

To be clear: I think you're misunderstanding what --enable-embedded-mode is for. Per Samuel's comment, I think you want --enable-static (and possibly --disable-shared).

Jeff Squyres
For corporate legal information go to: