Dear Michali,

Thank you for your response.

I tried to remove any not necessary units. You see, I  use only Lazarus
standard libraries and mines all are of pure Pascal. Can you suggest
anything else?

Regards,
Panaguiotis
-----------------------------------------
MAGENTA LTD
47-51 Methonis str - 106 81 Athens Greece
Shared cost phone 801-11.711.711
Standard rates for calls from abroad
or mobile phones
(+30) 210-33.03.920, 33.03.965
Fax (+30) 210-33.03.216
Company profile:
http://www.magenta.gr/en/profile.htm
-----------------------------------------
http://www.magenta.gr     [EMAIL PROTECTED]
-----------------------------------------

-----Original Message-----
From: Michalis Kamburelis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 4:32 PM
To: [email protected]
Subject: Re: [lazarus] ld.exe: cannot find -lc


Panagiotis Sidiropoulos wrote:
> Is someone familiar with this error?
> 
> "c:\lazarus\pp\bin\i386-win32\ld.exe: cannot find -lc"
> "mgde.lpr(17,1) Error: Error while linking"
> 
> It is the first time I compile after installing v. 0.9.10. Project is 
> one started on Linux v. 0.9.8.
> 

Somehow you used a unit that tries to link to the C library. This isn't 
available on Windows, of course.

This is either a bug in your code (because you used a unit that is not 
supposed to work on Windows, yet it accidentally compiles on Windows and

only prevents linking), or a bug somewhere in LCL/FCL/RTL etc. and some 
unit accidentally links to C library. In any case, solution is to try 
removing various units from your "uses" clauses, and thus you should 
found which unit tries to link to the C library.

Michalis

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to