Author Topic: ld.exe: cannot find -lc  (Read 12223 times)


  • Newbie
  • Posts: 3
ld.exe: cannot find -lc
« on: November 19, 2005, 10:40:01 am »
I had a project on Linux compiled properly. Porting to Windows, while trying to compile, I get error message "ld.exe: cannot find -lc" at final linking stage. I tried several things, for example checking all uses declarations for c lib requirements but had no luck.

Components used:
- TMainMenu
- TActionlist
- TDatasource
- TIPHtmlPanel

Any suggestion would be most appreciated.


  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: ld.exe: cannot find -lc
« Reply #1 on: July 19, 2006, 06:30:19 pm »
The declaration is probably: {$linklib c}

My first guess is that TIPHtmlPanel isn´t prepared to work on Windows, since all other components work well on it. See if TIPHtmlPanel uses libc unit, or links to glibc.


TinyPortal © 2005-2018