[Top][All Lists]

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

Re: [Gnucap-devel] BSIM plugins with MINGW

From: al davis
Subject: Re: [Gnucap-devel] BSIM plugins with MINGW
Date: Wed, 22 Jul 2009 23:34:22 -0400
User-agent: KMail/1.11.4 (Linux/2.6.26-1-amd64; KDE/4.2.4; x86_64; ; )

On Wednesday 22 July 2009, al davis wrote:
> It compiles with mingw as a cross-compiler.  I don't have a
> way to test beyond that.

It works on wine!

To cross compile ..

(Use the old build system.)
(builds a native version, you can stop it after it builds 
cd src
make mingw
(builds the windows version)
(it's "gnucap.exe" in MSW)

untar a models package ..
cd models---------
rm Make2
ln -s Make2.mingw Make2
(builds the MS version of the plugins)
(some don't work .. I know)
(the *.dll files are plugins.  load as with unix)

The differences compared to  posix version ...
1. extension ".dll" instead of ".so"
2. Unresolved symbols in plugins are reported at compile time 
for the MS version, vs at load time for the posix version.
3. You need to fix the "Make2" symlink. (or copy)
4. To cross compile, you need to make the "gnucap-modelgen" 
symlink. (or copy)

reply via email to

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