Author Topic: compileing problem  (Read 3999 times)

omid

  • Guest
compileing problem
« on: April 13, 2007, 04:17:50 am »
I install Code::Blocks with mingw (win32) I select borland compiler in starting in firest installion then change defult compiler to mingw and get this error in compileing c++ sample project how to solve my problem?
I unistall and reinstall but not solve my problem!

omid

  • Guest
Re: compileing problem
« Reply #1 on: April 13, 2007, 04:20:39 am »
my build log is:
Project   : Console application
Compiler  : GNU GCC Compiler (called directly)
Directory : C:\Documents and Settings\omid\My Documents\c-c++ proj\code-blocks\console\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
Linking console executable: C:\Documents and Settings\omid\My Documents\c-c++ proj\code-blocks\console\console.exe
/mingw/lib/crt2.o:crt1.c:(.text+0x16a): undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 7 seconds)
0 errors, 0 warnings

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: compileing problem
« Reply #2 on: April 13, 2007, 05:07:48 am »
I install Code::Blocks with mingw (win32) I select borland compiler in starting in firest installion then change defult compiler to mingw and get this error in compileing c++ sample project how to solve my problem?

I think you're using Code::Blocks RC2. Please upgrade to a latest nightly. Download it from-
Quote
http://forums.codeblocks.org/index.php/board,20.0.html
Be a part of the solution, not a part of the problem.