[Expat-discuss] Compile Problem

Dave zhu_dave at yahoo.com
Thu Oct 27 22:22:04 CEST 2005


Hello!

I just installed expat 1.95.8 on my Mac OS X 10.3.9,
but I couldn't compile one of my programs. I set the
DYLD_LIBRARY_PATH to /usr/local/lib. When I do the
following:

gcc -o myprogram myprogram.c -L /usr/local/lib/ -l
expat

It gives "ld: -L: directory name missing error". What
does this mean? What am I doing wrong? Is there any
documentation on this? Thank you.

regards.


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Expat-discuss mailing list