How to create a dynamic lib of Python API ?

A.M. Kuchling akuchlin at ute.mems-exchange.org
Wed May 22 12:18:25 EDT 2002


In article <mailman.1022061577.7842.python-list at python.org>, 
	Oleg Broytmann wrote:
> make distclean
> OPT="-O2" CC=gcc CFLAGS="-O2" CXX=g++ CXXFLAGS="-O2" LDFLAGS="-s" ./configure

I think -fPIC should be added to the CFLAGS, too, to generate
relocatable object code.

--amk



More information about the Python-list mailing list