In our previous episode, Mark Morgan Lloyd said:
> > 
> > IIRC there is also a CROSSBINUTILSPREFIX in case you only have to override
> > it for the "cross" part.
> 
> Thanks Marco, I'd missed -XP since I was mistakenly looking at the -A 
> section.
> 
> For information, it works, but I'm getting an error when it calls the 
> linker. If I link using a script it's fine:

1. IIRC FPC uses a builtin list of paths and -FD paths

2. The shell might use its own $PATH.
 
Solution, pass -FD or CROSSBINDIR (or something, search in makefile)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to