Questions tagged [tdm-mingw]
51 questions
2
votes
2 answers
tdm gcc 5.1 slower than 4.7
Im using tdm gcc compilers to compile my winapi projects, when i test some simple mandelbrot sse code 9maybe with other projests its like the same but i not tested everything), 5.1 generates larger executable 330kB against 270kB (though i not…

user2214913
- 1,441
- 2
- 19
- 29
2
votes
1 answer
What does TDM stand for in "TDM-gcc"?
I have searched for this for many site and failed. But what does TDM stand for in "TDM-gcc"? It confuses me when I want to choose gcc as the compiler. So, what's the difference? Should I choose TDM or NON-TDM? Or is TDM only for minGW on Windows…

Robin Hsu
- 4,164
- 3
- 20
- 37
2
votes
1 answer
Allegro: linker does not properly link libraries [Code::Blocks]
I have a problem with Allegro 5.0.10 libraries in Code::Blocks. They don't seem to link properly, because when I try to compile example from wiki:
#include
#include
int main(int argc, char **argv)
{
ALLEGRO_DISPLAY…

Renerte
- 31
- 5
2
votes
0 answers
MinGW-w64 Vs TDM-GCC Vs othes minor distros e.g . MinGW Distro - nuwen.net
Who is more accustomed can tell me:
How many flavors has MinGW?
actually what are the differences among the various flavors of MinGW? and why prefer one vs another?
I google a bit and till now i found :
MinGW (http://www.mingw.org/MinGW-w64…

harrykar
- 21
- 3
2
votes
1 answer
where are clang c++11 header files
I am trying to read and understand some of the c++11 code from clang-3.4. But I couldn't find standard headers. I am using mingw32 and build clang from source to default location at /usr/local/lib/clang/3.4.
I tried to look for and did
$ find |grep…

thor
- 21,418
- 31
- 87
- 173
2
votes
1 answer
Are Mingw32 and TDM-GCC compatible?
I’ve been using MinGW32 to compile libraries and link statically to my programs.
I would like to know if I change the compiler to TDM-GCC would my old libraries link with new programs compiled with TDM? Or should I compile everything with the new…

Mr blunder
- 71
- 6
1
vote
2 answers
Counting bits in a long long not working as expected
uint64_t bitsToInt64(char *bs) {
uint64_t r, i;
r = 0;
for(i = 0; i < 64; i++)
if(bs[i] == 1)
r |= 1LL << i;
return r;
}
int countBits64(uint64_t i) {
uint64_t x, t;
t = 0LL;
for(x = 0LL; x…
user181351
1
vote
2 answers
Retrieve list of VESA video modes from Int 10h/AX=4F00h
I am trying to develop a proof-of-concept os. Howsoever in the process one of the problems I encounter is the vesa video modes. It seems there is a lack of hardcoded video modes numbers after vesa told us to get them from vbe bios information and…

Özgür Güzeldereli
- 1,630
- 7
- 23
1
vote
1 answer
printf is not working as expected. Can someone explain the output?
I am trying to read two strings from the keyboard and print them.
Why does printf("read 1st\n") run after the second scanf()?
#include
int main(void)
{
char str[20];
char str2[20];
scanf("%s", str);
printf("read 1st\n");
…

Stefanos Poriazis
- 11
- 1
1
vote
1 answer
Error: expected initializer before "BOOL CALLBACK _export Function" in Bloodshed Dev-C++ 5.11
I tried to compile in Bloodshed Dev-C++ 5.11 following code:
BOOL CALLBACK _export DialogStartProc(HWND hWnd,UINT Message,WPARAM wParam,LPARAM lParam);
BOOL CALLBACK _export DialogRegProc(HWND hDg1, UINT msg, WPARAM wParam, LPARAM lParam);
and got…

Aleksey
- 11
- 4
1
vote
1 answer
rand_s for MinGW
I have found the rand_s function, part of the CRT, to be extremely useful while developing my application. However, it is my understanding that it is not prototyped in recent MinGW header files.
Therefore I am asking for a comprehensive means of…

Freddie Witherden
- 2,369
- 1
- 26
- 41
1
vote
1 answer
C++ Build environment on Windows
It might be hard to believe but I still struggle to completely understand what a build environment is. I have gathered over the years that it is a directory tree within which my compiler can find all the necessary headers and lib files to build my…

Svetsi
- 305
- 1
- 4
- 12
1
vote
1 answer
Installing Ipopt for anaconda python windows 64bit
I'm trying to install Ipopt using mingw64(TDM-GCC) in Windows 64bit. I'm thinking about using it in anaconda python.
I closely followed instructions here (http://www.coin-or.org/Ipopt/documentation/node15.html#SECTION00045300000000000000), but I…

ejtronics
- 11
- 2
1
vote
2 answers
TDM-GCC raises error: Undefined reference to a method I never called
This is with the compiler that comes with Dev-C++ when run on Windows 7, "TDM-GCC 4.9.2 64-bit Release". The same thing happens with the 64-bit version as well. The "add the following flags when calling the linker" in "Compiler Options" is set to…

Nic
- 6,211
- 10
- 46
- 69
1
vote
0 answers
Eclipse CDT and MinGW Compiler Build and Clean Errors
I'm getting started with Eclipse CDT (Luna) and MinGW (TDM64-gcc-4.9.2-3 and or MinGW64) compiler on Windows(x64). Everything seems ok but there are some console outputs which makes me worry.
for example when i clean my project, following errors…

eulerleibniz
- 271
- 3
- 11