(Help) Embedding in Python 1.5

id at c1299689-a.saltlk1.ut.home.com id at c1299689-a.saltlk1.ut.home.com
Tue Apr 2 01:36:10 EST 2002


In article <mailman.1017719704.5493.python-list at python.org>, 
Gerhard Häring wrote:
> * HH <henrykhecht at my-deja.com> [2002-04-02 00:16 +0000]:
>> I'm trying to embed some Python in some C. [...] Could someone supply
>> me with a modern (but not too modern, i.e. 2.x) example makefile, or
>> at least some advice?
> 
> Does my previous answer to a similar question help? URL is (long):
> ...
> I'd be very interested if this actually works for other people.

Short answer: no, but I did try =].  First problem is that google
mangled "get_config_var" -> "get config var", which confused me for a
full minute or so.  Second, PYFLAGS ends up being:

-lieee -ldl  -lpthread -lm -L -I/usr/include/python1.5 -lpython1.5

which is slightly worse than what I had by guessing
(get_config_var("LIBPL") returns null or None in my case).

I'm sorry your idea didn't work.  REALLY sorry, because I still don't
have any extra ideas of my own (beyond what I wrote in the original
post).

-- 
HH



More information about the Python-list mailing list