Code::Blocks

User forums => Help => Topic started by: zorglub! on June 16, 2009, 11:07:31 am

Title: missing -lglibc
Post by: zorglub! on June 16, 2009, 11:07:31 am
Hi
Just Dl'd codeblocks-8.02mingw-setup on my XP PC...
ran the installer...so far so good

Tried to compile a piece of C code...

got a compile failed error message .
D:\CodeBlocks\MinGW\bin\ld.exe: cannot find -lglibc

Any idea ?
Title: Re: missing -lglibc
Post by: MortenMacFly on June 16, 2009, 12:13:41 pm
Tried to compile a piece of C code...
got a compile failed error message .
D:\CodeBlocks\MinGW\bin\ld.exe: cannot find -lglibc
Just a guess: Do you try to compile a Linux program on Windows?
Title: Re: missing -lglibc
Post by: zorglub! on June 16, 2009, 08:13:00 pm
NO....

I have used the very same installer on another W2K PC...
install went fine, compile, debug and execute my C code no problem!!!

Only on this PC ( XP SP3...) I have this lib apparently not installed...and I really don't know why and how it went smoothly on one PC and crashed on the other...

But I  have another CodeBlock problem ...same PC but booted on Linux Mandriva... and I'll come back with this issue later on...i'd like to solve this one not to mix things up !!!

rgds