bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool 2.2.2 cross-compile to mingw problems


From: Olly Betts
Subject: Re: libtool 2.2.2 cross-compile to mingw problems
Date: Thu, 24 Apr 2008 01:47:03 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Debian)

On 2008-04-23, Charles Wilson <address@hidden> wrote:
> The only issue left would be this, in the wrapper script;
>
>      exec "$progdir/$program" ${1+"$@"}
>
> How would that work, if what you really want is
>
>      exec "wine" "$progdir/$program" ${1+"$@"}
>
> something like this?
>
>      exec $MY_EMULATION_INVOKER "$progdir/$program" ${1+"$@"}
>
> But surely /that/ problem has been solved for other cross-compile 
> setups, where your target is in some emulation environment or on some 
> remote machine?  How did it work, before (WAY before, back when there 
> WAS no c_wrapper at all)?

On Linux, binfmt_misc allows you to configure wine to be automatically
used to run windows binaries.

http://en.wikipedia.org/wiki/Binfmt_misc

I think at least some other platforms have something similar, but
perhaps something like your MY_EMULATION_INVOKER would be useful for
platforms which don't, or for people who are nervous about having
windows binaries automatically run.

Cheers,
    Olly





reply via email to

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