[fpc-devel]Amiga68k Compilation options...
Nils Sjöholm
nils.sjoholm at mailbox.swipnet.se
Sun Nov 24 16:13:33 CET 2002
söndag 24 november 2002 12:51 skrev Carl Eric Codere:
> > However, there are still a few problems exist, for eg. around
> > paths as Nils said. But i'm happy with the current results.
> > (... and waiting for offical snapshot... :)
>
> Florian forgot to tell you that you must also define AMIGA when compiling
> the compiler, otherwise it will compile for the linux-m68k target by
> default (thats why there are path problems)...
>
> The compiler defines to compile for AmigaOS (either cross or native):
> AMIGA
> GDB
> M68k
>
>
> Good luck.
>
>
>
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
I think the problem with paths has something to do with
fexpand, I will do some more test and try to compile a
native amigacompiler on uae and see if the result is
the same.
If I do a test like this
writeln(fexpand(paramstr(0)));
what I get both with crosslinux and native amiga is a
path with win32 delimiter and a starting \ before the path.
Will do some more checking.
Nisse
More information about the fpc-devel
mailing list