tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Compile .c file to .pyd


From: David Mertens
Subject: Re: [Tinycc-devel] Compile .c file to .pyd
Date: Wed, 18 Nov 2015 14:36:15 -0500

This is hard for me to test, as I work primarily on Linux, and I don't have Python on my Windows machine. Could you try to produce a smaller failing example?

David

On Tue, Nov 17, 2015 at 8:59 AM, Ahd Abd-Elrazek <address@hidden> wrote:

Hi All,


I have python 3.4 and i want to compile .c file to .pyd file 

I followed the command in this post http://stackoverflow.com/questions/17255828/compile-c-files-to-pyd

when i write this:

"tcc.exe" sptk.c -o sptk.pyd -shared -I C:\Python34\include -L C:\Python34\libs -lpython34


i get:

tcc: cannot find -lpython3.4


Am i missing something or what is the correct way?



Best Regards,
T.A. Ahd Abd El-Razek Mostafa
Computer Science Department 
Faculty of Computer and Information Sciences
Ain Shams University

_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]