[fpc-devel]Re: some m68k releated stuff

Peter Vreman peter at freepascal.org
Thu Apr 3 07:29:16 CEST 2003


> Hi,
>
> On 2003-04-02, Peter Vreman wrote:
>
>> Maybe the file extension that is added for executables is not correct or
>> the environment variable PATH is not available.
>
> Hmmm... Yes, this was the problem. It seems that the Amiga version of GNU
> tools doesn't use the internal AmigaOS path, but requires an enviroment
> variable named PATH... :/

The Makefile requires the PATH, see fpc/utils/fpcm/fpcmake.ini. That
contains Makefile parts with comments.

> After these i removed pwd.exe from the PATH ('pwd' still there) since
> using .exe suffix with GNU tools on AmigaOS can be declared as
> unsupported. So i got the followings then:

This is correct.


> 13.Work:Develop/FPC/fixes/fpc/compiler> make compiler OS_TARGET=amiga
> CPU_TARGET=m68k
> make: -iVSPTPSOTO: Command not found
> make: -iSP: Command not found
> make: -iTP: Command not found
> make: -iSO: Command not found
> make: -iTO: Command not found
> dm68k -dGDB -dBROWSERLOG -dNOOPT -Ct -Tamiga -Fum68k -Futargets
> -Fu../rtl/amiga -Fim68k -FE. pp.pas
> make: dm68k: Command not found
> make: [ppc68k] Error 127 (ignored)
> f pp ppc68k
> make: f: Command not found
> make: [ppc68k] Error 127 (ignored)

The FPC variable is not set in the Makefile. Try using "make -p" to dump
the database and check for FPCPROG. It depends if executable fpc is
available.

You can also try "make FPC=ppc68k" to force the use of ppc68k





More information about the fpc-devel mailing list