Hi Francois,

Thanks for your email.

Francois Gouget wrote:
On Fri, 14 Feb 2003, J. Grant wrote:
[...]
This could be a something to try, however I cannot find out the command
line, in man page or by guessing.

Is it something like "wcmd -vars=BLAH=moo" d-aliegri mentioned this on
#winehq
No, I mean:

$ export BLAH=moo
$ wcmd

IOW, just set the Unix environment variable before starting wine.
Or to automate things, write a script that executes the above two
commands, or edit wcmd itself (I believeit is a shell script that
invokes the wineloader).
OK, thank you, I will document my results below.

VC++ 6 has been unable to use the includes, it requires two enviroment
variables INCLUDE and LIB. So far I have not been able to get it to
find them.

I tried the shell way, as you sugested:

$ INCLUDE=d:\\vs\\vc98\\include:d:\\chaos-src\\iainlib\\h
$ export INCLUDE
$ wcmd

I tried adding to "config"

"INCLUDE" = "d:\\vs\\vc98\\include;d:\\chaos-src\\iainlib\\h"

I found that I had declared the INCLUDE dir with ":" instead of ";" as DOS requires, as I had been testing in bash. I can now compile and it finds the includes and libs correctly by calling c.bat from wcmd or cmd.exe.

set INCLUDE=d:\vs\vc98\include;d:\vs\vc98\mfc\include;d:\chaos-src\iainlib\h;d:\chaos-src\chaossrc\h;d:\chaos-src\gpdumb
set LIB=d:\vs\vc98\lib;d:\vs\vc98\mfc\lib;c:\chaos-src\iainlib\

Is there a way to declare the INCLUDE and LIB from bash and have Wine convert the ":" to ";" so it is usable by the win32 nmake.exe program at all?

Thanks for the help so far!

Regards

JG



Reply via email to