Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Adam Naumowicz
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); > e

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Marco van de Voort
> Marco van de Voort wrote: > >>Is there a way to strictly define the paths where FPC looks for objects > >>and libraries? > >> > >>AFAIK -Fl can only add a new value, not override the old one. I'm trying > >>to compile with solaris target on a linux machine, so I need to tell FPC > >>to use solari

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Florian Klaempfl
Marco van de Voort wrote: Is there a way to strictly define the paths where FPC looks for objects and libraries? AFAIK -Fl can only add a new value, not override the old one. I'm trying to compile with solaris target on a linux machine, so I need to tell FPC to use solaris libc.a, crti.o, and crtn.

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Marco van de Voort
> On Fri, 7 Nov 2003 00:43:55 +0100 (CET) > Adam Naumowicz <[EMAIL PROTECTED]> wrote: > > > On Fri, 7 Nov 2003, George Patterson wrote: > > > > > This might be a nasty hack but have you tried putting in the new > > > path right at the top of the link.res file. > > > > Well, the link.res file is

Re: [fpc-pascal]paths in cross-compiling

2003-11-07 Thread Marco van de Voort
> Is there a way to strictly define the paths where FPC looks for objects > and libraries? > > AFAIK -Fl can only add a new value, not override the old one. I'm trying > to compile with solaris target on a linux machine, so I need to tell FPC > to use solaris libc.a, crti.o, and crtn.o instead of