discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Command line tool on Windows


From: Michael Hopkins
Subject: Re: Command line tool on Windows
Date: Thu, 22 Jun 2006 12:46:26 +0100
User-agent: Microsoft-Entourage/11.2.3.060209

On 21/6/06 20:33, in article
1150918384.044167.121730@y41g2000cwy.googlegroups.com, "mcgurme"
<mcgurme@alifelikewater.org> wrote:

> We got this to work just recently.  The key was to grab the necessary
> .dll files and put them in with the application  (.exe file) in the app
> wrapper directory.  So, here's an example listing of the application
> directory for our application, GFS:
> 
>> GFS-Windows.exe
>> gnustep-base.dll
>> libiconv-2.dll
>> objc.dll
> 
> We've got a bit more testing to do, but so far, it seems to work fine
> without GnuStep installed.
> 
> I forgot to note, our program also required zlib1.dll to run standalone
> 
> Morgan
> 

Morgan

That is excellent news for anyone wanting to distribute command line
Foundation-based Objective-C applications on Windows!

So, just to clarify, you:

 - compiled/linked your application as 'shared' (did you use the mingw32
cross-compiler on linux or msys etc on Windows?)

 - either built or downloaded the .dll's that you mention (do you know the
best place to find speed-optimised builds of these .dll's?)

 - put the .exe and the .dll's in one directory on the Windows machine

 - go into that directory with the console and call the .exe to run the
program


Is it as easy as that?  If so it's great and there should be a link on the
GNUstep site to tell people about it, as many have asked about this and been
told it is difficult or impossible.

Michael


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        _/    _/   _/_/_/             Hopkins Research Ltd
       _/    _/   _/    _/
      _/_/_/_/   _/_/_/          http://www.hopkins-research.com/
     _/    _/   _/   _/
    _/    _/   _/     _/               'touch the future'
                   
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




reply via email to

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