Boszormenyi Zoltan
2011-Sep-15 09:26 UTC
[Wine] Using unix paths in console mode wine apps
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 at 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
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