[fpc-pascal]paths in cross-compiling

Adam Naumowicz adamn at math.uwb.edu.pl
Fri Nov 7 13:33:30 CET 2003


On Fri, 7 Nov 2003, Florian Klaempfl wrote:

> > 1.9+:  add parameter -Xd to not add the std paths.
> > 1.0.x: No.
>
> You can tweak compiler/targets/t_sunos.pas:
>
> Constructor TLinkersunos.Init;
> begin
>    Inherited Init;
>    LibrarySearchPath.AddPath('/lib;/usr/lib;/usr/X11R6/lib',true);
> end;
>
> around line 200. I guess removing the Library... line should solve your
> problem.

Thanks, it works as expected.

Regards,

Adam Naumowicz

======================================================================
Department of Applied Logic            fax. +48 (85) 745-7662
Institute of Computer Science          tel. +48 (85) 745-7559 (office)
University of Bialystok                e-mail: adamn at mizar.org
Sosnowa 64, 15-887 Bialystok, Poland   http://math.uwb.edu.pl/~adamn/
======================================================================






More information about the fpc-pascal mailing list