Compile Problem

Dave <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.