I am attempting to make a Python-2.0 extension on Linux. If I include in Setup the lines *shared* test test.c it compiles test.so no problem. If however I use the lines *shared* test test.cc then the build fails with; [erikw at devbrick4 testwiz]$ make fpic -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.0 -I/usr /loc al/include/python2.0 -DHAVE_CONFIG_H -c ./test.cc make: fpic: Command not found make: [test.o] Error 127 (ignored) gcc -shared test.o -o test.so gcc: test.o: No such file or directory gcc: No input files make: *** [test.so] Error 1 [erikw at devbrick4 testwiz]$ It seems to me as though the ".cc" extension causes the Makefile.pre.in stuff to fail. Has anyone compiled a C++ based extension? If so, what did your Setup file look like? -- -Erik Weber Lineo Seattle 206.285.2506 x204
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4