From f833b7679ab1b8d717e098ad79abf0c20de30911 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 20 Sep 2006 22:50:58 +0000 Subject: [PATCH 1/1] Add the data into the generated def file when cross-compiling onto windows git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2792 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/FAQ.doc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/FAQ.doc b/doc/FAQ.doc index c7e05cbb45..b5645beff5 100644 --- a/doc/FAQ.doc +++ b/doc/FAQ.doc @@ -253,14 +253,16 @@ generate the def files, run (under linux): \verbatim echo "LIBRARY libsimgrid-0.dll" > simgrid.def echo EXPORTS >> simgrid.def nm libsimgrid-0.dll | grep ' T _' | sed 's/.* T _//' >> simgrid.def +nm libsimgrid-0.dll | grep ' D _' | sed 's/.* D _//' | sed 's/$/ DATA/' >> simgrid.def echo "LIBRARY mingwm10.dll" > mingwm10.def echo EXPORTS >> mingwm10.def nm mingwm10.dll | grep ' T _' | sed 's/.* T _//' >> mingwm10.def +nm mingwm10.dll | grep ' D _' | sed 's/.* D _//' | sed 's/$/ DATA/' >> mingwm10.def \endverbatim -To create the import .lib files, use the lib windows tool the -following way to produce simgrid.lib and mingwm10.lib +To create the import .lib files, use the lib windows tool (from +MSVC) the following way to produce simgrid.lib and mingwm10.lib \verbatim lib /def:simgrid.def lib /def:mingwm10.def \endverbatim -- 2.20.1