On 22.02.2014 16:48, Sven Barth wrote:
- I need to use -sh (thus generating the ppas.sh script), because QEMU
does not seem to allow me to exec a non m68k program

And with revision 26851 "-sh" isn't needed anymore as the compiler can now correctly find the "as" and "ld" binaries. :D (the problem was that the location of the environment variables was calculated incorrectly which resulted in envp being Nil => no PATH variable)

=== output begin ===

$ ../run-qemu-m68k ./compiler/ppc68k -n -Furtl/units/m68k-linux -FEtestoutput -viwn -XPm68k-elf- -O- -Cpisac ./fpctests/helloworld.pas
Target OS: Linux for m68k
Compiling ./fpctests/helloworld.pas
Assembling helloworld
Linking testoutput/helloworld
/usr/bin/m68k-elf-ld: warning: testoutput/link.res contains output sections; did you forget -T?
5 lines compiled, 0.8 sec
$ ../run-qemu-m68k ./testoutput/helloworld
Hello World

=== output end ===

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to