Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: [hwloc-users] Compiling hwloc into a static library on Windows and Linux
From: Andrew Helwer (Andrew.Helwer_at_[hidden])
Date: 2012-01-09 20:09:19


Hello,

I am attempting to compile hwloc into a static library so that it may be integrated into a larger project without having to ship the shared library with the release. The project is cross-platform, and so needs to support Windows 32/64-bit and Linux.

First of all, is Windows 64-bit supported? There is only a 32-bit release on the downloads page.

I have looked at this page: http://www.open-mpi.org/projects/hwloc/doc/v1.3.1/a00009.php
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.

I've managed to compile a working static library on Linux using the headers generated by configure, but am having a lot of difficulty doing the same on Windows - the Visual Studio compiler runs into a lot of issues. Is there a simple way to do this?

Thanks,

Andrew Helwer

Andrew Helwer
Software Developer - Intern
Acceleware Ltd. (TSX-V:AXE)
www.acceleware.com<http://www.acceleware.com/>

Phone: +1.403.249.9099 ext. 348
Fax: +1.403.249.9881
Email: andrew.helwer_at_[hidden]<mailto:joe.bloggs_at_[hidden]>

Get superpowered!
Acceleware gets your products to market faster, better and stronger!

This e-mail may contain information that is privileged and confidential and subject to legal restrictions and penalties regarding its unauthorized disclosure or use. You are prohibited from copying, distributing or otherwise using this information if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and its attachments from your system. Thank you.
(c) 2012 Acceleware Ltd., All Rights Reserved