Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: dan_w on March 05, 2005, 06:15:00 am
-
It works! :shock:
And has workspaces too! Your project needs more exposure. I had been looking for a usable IDE for like 2 years; ever since I set my MSVC6 CD on fire after one Internal Compiler Error too many. Eclipse didn't do it for me. Bloodshed's DEV-CPP came closer but no workspaces...
Looks like this is it. OpenGL works... Does MinGW support MMX, 3DNow!, etceteras? Well, I guess that's a question for the MinGW forum...
Congrats!
PS.: The OGL demo looks nicer and smoother with Sleep(10).
Sleep(1) chokes the OS, and then it hits you back with occasional temporary freezes or hic-ups. At least it does under Win98SE.
Next step is to see if my old 3D project still compiles. Probably not...
-
Dev C++ deos not support any instruction sets, as to MinGW you would have to ask them.
-
IIRC, MinGW's gcc does have switches for processor-specific optimizations. I can't remember if Codeblocks 1.0-betafinal supports them, but the CVS version does.
-
It has.
(I'm not 100% sure, but it does have "Intel Pentium M (MMX, SSE, SSE2)" flag and similar in compiler options)
/Per Eckerdal
-
Looks like this is it. OpenGL works... Does MinGW support MMX, 3DNow!, etceteras? Well, I guess that's a question for the MinGW forum...
If not (I really don't know) you can try the compiler of Microsoft, or Borland... :wink:
-
Does MinGW support MMX, 3DNow!, etceteras?
It does, well, in fact it's GAS (GNU Assembler) the one that supports them which is the last program called by GCC in the compilation phase.
If you want to add inline assembly to your programs using MinGW you must have in mind things are a bit different. By default it uses AT&T assembly, even though it can be switched to Intel assembly with -masm=intel, but the way to use it is different to that found in Visual C++, Borland C++, Intel C++, ...
Try searching "GCC inline assembly" in Google. There's a nice one around but it's in Spanish.
Dev C++ deos not support any instruction sets
How could it? It's just an editor. MinGW or Cygwin + Dev-C++ is what makes it an IDE, and they both support them.
MinGW, well, GCC, has flags for mmx, sse, ... and processor specific ones.