Using unix paths in console mode wine apps

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Boszormenyi Zoltan

Using unix paths in console mode wine apps

Post by Boszormenyi Zoltan »

Hi,

is there an environment variable that enables plain Unix
filenames in Wine applications?

I need to cross compile PostgreSQL and some third party modules
on my Fedora 15 system to 64-bit Windows. PostgreSQL uses its
"pg_config" for 3rd party code to tell the include dir, compile flags, etc:

[zozo@localhost postgis-1.5.3]$ /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pg_config.exe
--pgxs
Z:/usr/X86_~FWL/sys-root/mingw/lib/POST~SMW/pgxs/src/MAKE~WLE/pgxs.mk

This path doesn't exist as is but "winepath --unix" can convert it to a more useful one.

Is there an environment variable or a winecfg setting so applications always
use the unix path?

Best regards,
Zoltán Böszörményi
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Using unix paths in console mode wine apps

Post by vitamin »

Boszormenyi Zoltan wrote:is there an environment variable that enables plain Unix filenames in Wine applications?
No, you can't use *NIX path with Windows programs. Use 'winepath' program to convert between Windows and *NIX paths. http://wiki.winehq.org/winepath
Locked