tags:

views:

460

answers:

5

Hello,

what is the procedure to install MinGW for OpenSuSE and also send me the link where i could get a proper MinGW installation package.

waiting for reply...

Thank U ...

A: 

MinGW is a Windows-only compiler. GCC is what you're looking for, and I'm pretty sure most (if not all) Linux distros come with it. In case it doesn't, open YaST (the package manager) and install it through that.

musicfreak
A: 

MinGW stands for "Minimalist GNU for Windows". What you want is "Maximalist GNU for Linux" which, unless you've severely constrained what was loaded at install time, will already be on your Linux system.

Try typing in gcc at your command prompt to see if you have it.

paxdiablo
when i give gcc --version.. this is how i get it...admin@BLRKIET0070PC:~> gcc --versiongcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]but is GCC similar to MinGW... i need MInGW to cross compile QT applications... how to do it??
suse
Get Windows.
musicfreak
@Vincat, MinGW is the GNU toolchain (make, gcc, and so on) ported to Windows. You don't install MinGW on Linux, the toolchain is already there. What you do is develop under Linux then, when you want to port your software to Windows, *that's* when you need MinGW. You run it on Windows and (ideally) no changes are required to your source code to generate a Windows executable.
paxdiablo
MinGW ONLY runs on Windows. You can't put it on Linux. Either way, there'd be no point; MinGW is basically just GCC for Windows.
musicfreak
ok.. thanku so much
suse
A: 

MinGW is a minimal package of gcc

Linux uses the full gcc

Javier
A: 

If you would like to cross compile Qt applications you can simply install Qt Creator for linux.

MinGW is minimalistic GNU for Windows, it would be a little redundant to try and run a Windows Cross-Compiler under linux would it not? Simply install the linux variant and cross-compile.

John T
does QTCreator creates Windows executable in SuSE Linux??b'coz i heard tat QTCreator is just an editor...
suse
QtCreator is a full IDE. somewhat new still; but quite good and easy to use.
Javier
for cross-platform compiling, the easiest is to install QtCreator in all platforms. then you have the whole IDE, compiler and debugger, with the same user interface on all.
Javier
A: 

You can get Open Suse rpm's for MinGW here: suse cross tool chain

Matthew Talbert