News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

missing -lglibc

Started by zorglub!, June 16, 2009, 11:07:31 AM

Previous topic - Next topic

zorglub!

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 ?

MortenMacFly

Quote from: zorglub! on June 16, 2009, 11:07:31 AM
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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

zorglub!

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