mingw

Problems with C::B compiler configuration

I configured MinGW to Code::Blocks correctly. I also checked that it works using the command line. I for some reason can't compile with any compiler at all. Not even with VC++. Is this a known issue? Does anyone knows how to solve it? This is the error I'm getting: "Static library - MinGW RELEASE" uses an invalid compiler. Skipping...

Why is MinGW very slow?

I'm using Code::Blocks IDE with Gcc/minGW on Windows and I'm trying to build a wxWidgets application which has ca. 20k lines and 40 source modules. And it builds very very slow. Compiling a cpp module lasts 2-5 seconds, and linking lasts even 2-3 minutes. It's a portable code, this code on Linux compiles very fast. I can't follow the bu...

Cython pyximport error on Windows

I'm making my first steps with Cython, and I've installed it on my machine according to the instructions in the wiki. Working through the Cython tutorial I got to pyximport, which is supposed to make cython compilation really simple. When I tried using it, though, I got the following error message (reformatted): ImportError: Building m...

Can't build OCUnit in GNUstep/Win32 environment - objc/runtime.h not found

I'm trying to unit test objective-c classes built in the MinGW shell. Since OCUnit has been embraced by Apple for XCode, it seems that the developer, Sen:te, has now focused on that. So, the last source distro that claims to support GNUstep is v27. Anyway, I downloaded the v27 tarball and tried to build in MinGW. You first have to bu...

Compiling SystemC library in Mingw32

I have been trying to compile systemC library in Mingw32 and I am getting an error when I run the "configure" command which says that the architecture is not supported. Anyone out there solved this problem? ...

How to Instal MinGW in OpenSuSE Linux flavour???

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 ... ...

GNU CC and Windows

I'm a bit confused about the options for using GNU CC on Windows. If I want to primarily develop console applications (as opposed to GUI apps) what do I need? Where do Cygwin and MinGW figure? For example, if I use the NetBeans IDE C/C++ option, that requires installation of Cygwin. Are there any options which would allow Console appli...

How do I compile Python C extensions using MinGW inside a virtualenv?

When using virtualenv in combination with the MinGW compiler on Windows, compiling a C extension results in the following error: C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lpython25 collect2: ld returned 1 exit status error: Setup script exited with error: command 'gcc' failed with exit status ...

Adding leading underscores to assembly symbols with GCC on Win32?

I have a piece of C code that calls a function defined in assembly. By way of example, let's say foo.c contains: int bar(int x); /* returns 2x */ int main(int argc, char *argv[]) { return bar(7); } And bar.s contains the implementation of bar() in x86 assembly: .global bar bar: movl 4(%esp), %eax addl %eax, %eax r...

install Mingw for SuSE Linux

Hello, please tell me, where do i get a link to install QT with MinGW cross compiler in Linux? Thank you ...

i386mingw32-g++ not created :(

I have installed MinGW cross compiler in Linux , but i'm not able to create i386mingw32msvc-g++ because of which i'm not able to cross compile my cpp application.what has to be done to create it. in /usr/local/cross-tools/bin i've all these executables i386-mingw32-addr2line, i386-mingw32-ar, i386-mingw32-as, i386-mingw32-gcc, i386-mingw...

i386mingw32-g++ not created

I have installed MinGW cross compiler in Linux , but i'm not able to create i386mingw32msvc-g++ because of which i'm not able to cross compile my cpp application.what has to be done to create it. in /usr/local/cross-tools/bin i've all these executables i386-mingw32-addr2line, i386-mingw32-ar, i386-mingw32-as, i386-mingw32-gcc, i386-mingw...

Compiling Ruby 1.9.1 in MinGW

I tried following the README file in Ruby 1.9.1 but I can't compile it using MinGW in Windows. Can you help me with this? Thanks. ...

can't seem to build a Qt project on eclipse (C++, Windows)

I have Qt installed + Qt Eclipse Integration + MinGW but I can't seem to find a way to build a new Qt GUI project. I'm getting the following error: Error launching builder (mingw32-make debug ) (Cannot run program "mingw32-make": Launching failed) I've updated the Path variable and added all I can think about that can be related and n...

Adding directory path to i386mingw-g++

Hi, How to add directory path to i386mingw-g++ where i working under Linux? When i try to cross compile a .cpp program through i386mingw-g++ it does not take the path of the include directories. I have also seen in the help, as it instructs to do with -B option but it shows as such "bash: syntax error near unexpected token `newline'" K...

i386-mingw32-g++: error trying to exec 'cc1plus': execvp: No such file or directory

If I compile this QT c++ program in SuSE Linux #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; } When I type i386-mingw32-g++ helloworld.cpp I get the following error i386-mingw32-g++: error trying to exec 'cc1plus': execvp: No such file or directory Is this because MinGW ...

Most Common C / C++ Compiler for NetBeans and Windows

What is the most commonly used (simplest) C / C++ compiler used on Windows when using the NetBeans IDE (6.7)? I want to write (mostly) simple C programs. I have Cygwin installed but for some reason NetBeans doesn't like it. I'm getting a error from it and before I try to figure this out, I thought I should find and (if needed) configur...

Make GDC front end emit intermediate C/C++ code?

While investigating the D language, I came across GDC, a D Compiler for GCC. I downloaded the version for MinGW from here: http://sourceforge.net/projects/dgcc/files/ Documentation was almost nonexistent, but it did say that most of the command line switches were the same as for the GCC compiler. However, that doesn't help me much, s...

Trouble with linking ImageMagick libraries using MinGw on Windows

I started using Qt Creator recently and it seems to work well. A sample application I build on OS X uses the ImageMagick library. No problems there - everything works as expected. I built the ImageMagick libraries from source. Now I move over to the Windows side and the linking troubles start. Qt Creator on Windows uses MinGW and not t...

compile cdrtools with mingw

Hello All, I need to compile cdrtools with mingw (to avoid cygwin dependancy). It was done somehow long time ago but sources are not available anymore: http://web.archive.org/web/20040707140819/http://cdrtools.bootcd.ru/ Does anyone know how to compile cdrtools with mingw? Thanks. ...