Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: dan_w on March 05, 2005, 06:15:00 am

Title: Holly Cow!
Post 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...
Title: Holly Cow!
Post by: Anonymous on July 08, 2005, 11:50:18 am
Dev C++ deos not support any instruction sets, as to MinGW you would have to ask them.
Title: Holly Cow!
Post by: rickg22 on July 08, 2005, 05:26:49 pm
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.
Title: Holly Cow!
Post by: per_eckerdal on July 08, 2005, 05:56:58 pm
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
Title: Re: Holly Cow!
Post by: David Perfors on July 08, 2005, 06:36:20 pm
Quote from: dan_w
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:
Title: Holly Cow!
Post by: Ceniza on July 08, 2005, 08:28:57 pm
Quote
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.

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