Hi, I've been using msys2 for a while now, and it's great. I love this
pacman-based distro (and I'm using ArchLinux too).

Recently I've found an issue (maybe it's been there for some time): Some
makefiles I wrote stopped working. I used to invoke 
Visual C++ within msys2 environment with the help of a wrapper script. The
generated command line looks something like:
  cl x.o -Fe x -link -LIBPATH:../lib x.lib

The -LIBPATH:../lib is generated from a -L../lib flag. This command line
used to work fine. But not now. This flag is now converted to 
"-LIBPATH;../lib", with the colon changed into a semicolon, and it stopped
working. I think the reason is that this flag is recognized as a posix path
list now.

Mingw.org has this rule on their site:
 An argument that doesn't start with -, ", ', or @ and contains a : followed
by /, :, or .; and a / is considered a POSIX path list. 
Every :-separated element is converted according to these rules, and the :
are replaced with ;. Any / are converted to \.

I think msys2 should work in a similar way? Or how can I avoid this
conversion in all? 

Thanks a lot.


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to