first attempt at ld for ape. Linux code configure :-) Linux code :-( Linux #*%@#$@! -Steve Notes: Wed Feb 9 09:02:11 EST 2005 rsc i doubt you've actually tried this, since it says l$O instead of $O^l. Wed Feb 9 09:03:57 EST 2005 rsc and the sed command doesn't work with the ape sed. Wed Feb 9 09:04:11 EST 2005 rsc fixed Reference: /n/sources/patch/applied/ld-4-ape Date: Wed Feb 9 11:41:06 CET 2005 Reviewed-by: rsc --- /rc/bin/ape/ld Thu Jan 1 00:00:00 1970 +++ /rc/bin/ape/ld Wed Feb 9 15:02:32 2005 @@ -0,0 +1,6 @@ +#!/bin/rc +# ld for ape, to keep configure happy + +O=`{sed -n 's/^O=(.*)/\1/p' /$cputype/mkfile} + +$O^l $*