I just installed Dev-Cpp for a IT class and started up with a basic program to see if all was alright:

#include <stdio.h>

int main()
    printf("Ola Mundo");

Still, when i tried F9 (Compile & Run), appear this errors:

[Linker error] undefined reference to `__dyn_tls_init_callback'
[Linker error] undefined reference to `__cpu_features_init'
ld returned 1 exit status

This happen on my Laptop (Win7 Pro 32-bit), and i tried installing Dev-Cpp on my Desktop (Win7 Ulti 64-bit) and it compiled and ran perfectly.

I've tried to google the errors but to no avail, could someone please help ?


EDIT: Btw, i installed the newest version of Dev-CPP with MinGW compiler on both PC's

Edited 5 Years Ago by jsfrocha: n/a

Unless your instructor required you to use Dev-C++, you should replace it with Code::Blocks because Dev-C++ has not been updated for quite a few years and contains a very old version of gcc compiler. Code::Blocks is also free and current.

This question has already been answered. Start a new discussion instead.