Hi,

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");
    system("PAUSE");
}

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 ?

Thanks.

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

Recommended Answers

All 2 Replies

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.

Thanks, with Code::Blocks works perfectly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.