[fpc-pascal] Re: FPC make all: as.exe not found unless in path

Reinier Olislagers reinierolislagers at gmail.com
Thu Feb 2 15:00:04 CET 2012


On 2-2-2012 14:53, Tomas Hajny wrote:
> On Thu, February 2, 2012 13:58, Reinier Olislagers wrote:
>>> When I add c:\development\binutils to the path, it does seem to work.
>>>
>>> How can I solve this, e.g.:
>>> 1. Would moving ppc386.exe to the binutils dir help?
>>> 2. Can I modify the path on the fly (I recall that will be
>>> difficult/impossible to do on Linux/OSX anyway)?
>>> 3. Is there some option I can pass to make to let it find the right
>>> binutils?
>>> 4. Something else I haven't thought about?
> 
> I assume that you're aware of the compiler option -FD (which can be passed
> to makefiles e.g. using "OPT=-FD..." or by having it in fpc.cfg unless
> using option -n too), right?
> 
> Tomas
Thanks Tomas, though I glanced at it skimming the Build FAQ, hadn't paid
attention.
Using OPT=-FDc:\development\binutils might be a good idea to use instead
of Henry's CROSSBINDIR suggestion...


Thanks,
Reinier



More information about the fpc-pascal mailing list