FPC Version 2.5.1
Laz Version 0.9.29
Im trying to cross compile a FreeBSD CGI program from my windows box.
It works fine, until i add a IdTCPclient to the webModule i get the following linking error
Hint: Start of reading config file C:\pp\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\pp\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.5.1 [2010/12/02] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling cgiproject1.lpr
Compiling unit1.pas
cgiproject1.lpr(6,8) Hint: Unit "fpWeb" not used in cgiproject1
Compiling resource cgiproject1.or
Linking cgiproject1
C:\pp\bin\i386-win32\i386-freebsd-ld.exe: cannot find -liconv
cgiproject1.lpr(14,1) Error: Error while linking
C:\pp\bin\i386-win32\i386-freebsd-ld.exe: cannot find -liconv
cgiproject1.lpr(14,1) Error: Error while linking
cgiproject1.lpr(14,1) Fatal: There were 1 errors compiling module, stopping
Any ideas? thanks