Package mingw-gcc-4.1.0-3
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.8/x86_64 | |||
10.7/x86_64 | |||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | 4.1.0-3 | ||
10.5/powerpc | |||
| Description: | GNU GCC for MinGW (4.1.0-3) | |
| Usage Hints: | ||
Case 1: GCC
1. Write a code.
$ cat > hello.c
#include <windows.h>
int WINAPI WinMain (HINSTANCE hInstance,
HINSTANCE hPrevInstance,
PSTR szCmdLine,
int iCmdShow)
{
MessageBox (NULL, "Hello World!", "Hello", MB_OK);
return (0);
}
^D
2. Compile.
$ i686-pc-mingw32-gcc -o hello.exe hello.c -mwindows
3. Run.
Case 2: GCJ
1. Write a code.
$ cat > HelloWorld.java
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello, world!");
}
}
^D
2. Compile.
$ i686-pc-mingw32-gcj --main=HelloWorld HelloWorld.java
3. Complain about its not running; then give feedback to the Maintainer ;-) | ||
| Section: | devel | |
| Maintainer: | None <fink-develATlistsDOTsourceforgeDOTnet> | |
| Website: | http://gcc.gnu.org/ | |
| License: | LGPL | |
| Info-File: | dists/10.4/stable/main/finkinfo/devel/mingw-gcc.info CVS log, Last Changed: Wed, 15 Feb 2012 14:56:39 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.