./devel/mingw [development environment for native Windows applications]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.0.1, Package name: mingw-1.0.1
Maintained by: Paul Irofti
Master sites:
Description
Cross-build toolchain generating applications for deployment on MS-Windows.

README
$OpenBSD: README,v 1.4 2014/01/11 12:56:41 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Environment Setup
=================
Set the mingw32 binary path before all the others. Like so:

$ export PATH=${PREFIX}/mingw32/bin:${PATH}

Generating PE files
===================
Just compile like you regulary would:

$ cat CreateFile_test.cpp
#include

int main (void)
{
HANDLE handle;

handle = CreateFile ("test.txt", GENERIC_READ | GENERIC_WRITE,
0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);

return 0;
}

$ g++ CreateFile_test.cpp -o CreateFile_test.exe
$ file CreateFile_test.exe
CreateFile_test.exe: MS-DOS executable PE for MS Windows (console)
Intel 80386 32-bit


Filesize: 24.362 KB
Version History (View Complete History)
  • (2011-11-17) Package added to openports.se, version mingw-1.0.1 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2017-07-28 03:35:40 by Marc Espie | Files touched by this commit (1)
Log message:
trick mingw into considering clang first.
- COMPILER_LINKS
- pass PORTPATH thru
   2017-06-04 16:25:31 by Marc Espie | Files touched by this commit (2)
Log message:
THIS configuration fragment *is* clang specific
   2017-06-04 16:25:31 by Marc Espie | Files touched by this commit (2)
Log message:
THIS configuration fragment *is* clang specific
   2017-06-02 08:30:03 by Marc Espie | Files touched by this commit (1)
Log message:
add quite a few -Wno-*   so that the logs are more or less readable.
Unfortunately, -pedantic turns some warnings back on, so don't bother
with -Wno-switch.
   2017-06-02 06:26:21 by Paul Irofti | Files touched by this commit (3)
Log message:
Prepare MinGW for clang.
Lots of help and OK espie@, thanks!
   2017-06-02 06:26:21 by Paul Irofti | Files touched by this commit (3)
Log message:
Prepare MinGW for clang.
Lots of help and OK espie@, thanks!
   2017-06-02 06:26:21 by Paul Irofti | Files touched by this commit (3)
Log message:
Prepare MinGW for clang.
Lots of help and OK espie@, thanks!
   2015-01-17 20:16:09 by Christian Weisgerber | Files touched by this commit (3349)
Log message:
Drop remaining MD5/RMD160/SHA1 checksums.
   2014-11-12 01:20:09 by David Coppa | Files touched by this commit (2)
Log message:
Add '-I${LOCALBASE}/mingw32/include' to '*cc1plus:' too
ok pirofti@ (maintainer)
   2014-11-12 01:20:09 by David Coppa | Files touched by this commit (2)
Log message:
Add '-I${LOCALBASE}/mingw32/include' to '*cc1plus:' too
ok pirofti@ (maintainer)
   2014-11-09 09:25:17 by Christian Weisgerber | Files touched by this commit (1)
Log message:
do not pick up gawk in configure