[Python-Dev] autoconf question: howto add to CFLAGS and LDFLAGS? (original) (raw)

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 17 Aug 2000 13:26:59 +1200 (NZST)


My hunch is that simply listing library (*.a) arguments on the gcc command line is a GNU gcc/ld shortcut to the more portable usage of -L and -l.

I've never encountered a Unix that wouldn't let you explicity give .a files to cc or ld. It's certainly not a GNU invention.

Sounds like Monterey is the odd one out here. ("Broken" is another word that comes to mind.)

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+