-L/opt/local/lib/ -lpopt
On 05 Mar 2009, at 19:53, Mark Turner wrote:
I see that /opt/local/lib has libpopt.a, libpopt.la, and
libpopt.0.0.0.dylib, which is similar to the other libraries. I
didn't
think I needed to specify "-L libpopt", but that gcc automatically
added
the lib prefix to the library. But, just in case, I tried adding it
myself, but that didn't work, either.
An example command line of something I'm trying to compile:
gcc -g -O2 -o src/ascii/ascii src/ascii/ascii.o -l/opt/local/lib/
libpopt
--
"Suburbia is where the developer bulldozes out the trees, then names
the streets after them."
-- Bill Vaughn
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users