Possibly the test should be if it can compile *and* link the compiled (assembled) code with something else.
Should be it can compile *and* if the link is compatible with target linker/code ?
Nah? Linking is what fails today. Compile/assembler -> .o file and then link .o files to a .so (or an executable). Sometimes the .o files are collected in a ".a" library too, but that part is just archiving.
/ Mirar
Previous text:
2004-01-26 13:14: Subject: Re: nasm and non x86 platforms
Le 26 janv. 04, à 11:05, Mirar @ Pike developers forum a écrit :
--without-machine-code should do it. Please find out why it doesn't.
But I guess you could always expand the test in Image/configure.in:
elif test "`uname -s`" = "OpenBSD"; then #nasm on OpenBSD is braindamaged AC_MSG_RESULT(no)
add another three rows and s/OpenBSD/FreeBSD...? :)
Works like a charm on FreeBSD x86.
Possibly the test should be if it can compile *and* link the compiled (assembled) code with something else.
Should be it can compile *and* if the link is compatible with target linker/code ?
/Xavier
/ Brevbäraren
pike-devel@lists.lysator.liu.se