Hi all,

I'm doing some experimentation with assembly code based on the int80h.org 
tutorials.  But since I am going to use malloc and some other functions,
I need to make my code link with libc rather than stand totally on its own.

ld -s -o foo foo.o -lc

leaves 'environ' and '__progname' undefined.  What is the correct way to link
standalone asm code with needed libraries?

jm
-- 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to