[postgis-devel] [PostGIS] #1785: Can't compile under mingw 64-bit anymore

PostGIS trac at osgeo.org
Sun Apr 22 14:00:28 PDT 2012

#1785: Can't compile under mingw 64-bit anymore
  Reporter:  robe                   |       Owner:  strk         
      Type:  defect                 |      Status:  closed       
  Priority:  blocker                |   Milestone:  PostGIS 2.0.1
 Component:  build/upgrade/install  |     Version:  trunk        
Resolution:  fixed                  |    Keywords:               
Changes (by robe):

  * status:  new => closed
  * resolution:  => fixed



 I figured out how to fix so I'm going to close this out.  I suspect it is
 only an issue with cross-compilers.  I'm not sure how to make it pick it
 up right, I think it does for other executables.

 The issue is that in my c:\ming64\mingw64\bin the file is called:


 If I copy this striping off the version so I have just a cpp.exe

 It picks it up fine and compiles fine.  Still doing my make check.

 I suspect I may just have to note this in the wiki on compiling under
 mingw64, because some mingw64 have the executables already stripped and
 some do not so might  work for one person out of the box  and not another.
 I've had to do this with one other exe. Can't remember which one off hand.

Ticket URL: <http://trac.osgeo.org/postgis/ticket/1785#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.

More information about the postgis-devel mailing list