as -o asm.o asm.s
. ../paths.sh; cc -g -o cstest cstest.o asm.o $LIBM $LIBC
cstest.o: In function `dotest':
/usr/ports/lang/sr/work/csw/cstest.c(.text+0x1ac): undefined reference to `sr_chg_context'
cstest.o: In function `spawn':
/usr/ports/lang/sr/work/csw/cstest.c(.text+0x287): undefined reference to `sr_build_context'
cstest.o: In function `foo':
/usr/ports/lang/sr/work/csw/cstest.c(.text+0x2b3): undefined reference to `sr_check_stk'
all the way to diffing yorick/pkg/PLIST and then died with a
"bad hostname freefall.freebsd.org" .... Hopefully that's not bad... ;-)
Hmm.. Maybe I'll try doing this from beast, next! kickme's a boring
machine, and bento is busy.