My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 133: MinGW and Cygwin support missing
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2011


 
Reported by 0xl...@gmail.com, Aug 13, 2011
What steps will reproduce the problem?
1.  Enter a MinGW or Cygwin environment
2.  Attempt to build something with hxcpp

What is the expected output? What do you see instead?
It would be nice if hxcpp used the local g++, but instead it attempts to use Microsoft's cl.exe


What version of the product are you using? On what operating system?
Latest SVN.

Please provide any additional information below.
MinGW support was theoretically added from https://code.google.com/p/hxcpp/issues/detail?id=3, but it seems to have regressed.

Aug 14, 2011
Project Member #1 gameh...@gmail.com
You should be able to use "-D mingw" flags to the command-line, or now the HXCPP_MINGW to enable the target.
You will still need to add libgcc_s_dw2-1.dll and libstdc++-6.dll to your path.


Aug 14, 2011
#2 0xl...@gmail.com
Thanks.  Is HXCPP_MINGW an environment variable?

I tried to merge the mingw and linux buildfiles into this cygwin patch, but I have not tested it much yet.
cygwin.patch
2.3 KB   View   Download
Aug 15, 2011
Project Member #3 gameh...@gmail.com
Yes - so you can use either "-D mingw" on the command line, or setenv HXCPP_MINGW for all projects.
I have added your patch with similar define for cygwin - but I too have not tested it.
Status: Fixed

Powered by Google Project Hosting