Re: compiling C extension on Mac -- which version Tcl on new Leopard
- From: Kevin Walzer <kw@xxxxxxxxxxxxxxx>
- Date: Mon, 29 Oct 2007 11:18:54 -0400
chewie54 wrote:
Hello,
Are there any good examples of compiling C extensions on the Mac. I
have seen examples on the wiki showing makefiles for Windows and Linux
but the Mac examples uses one line gcc command. I got this example
to work but I have multiple C files and would like to use a makefile
to compile and link the source.
Also, does anyone know what versions of Tcl and Tk come with the new
Leopard OS?
Thanks,
If your C extension is TEA-compliant, you can simply run "configure, make, make-install" -- see the wiki for some specific flags if you have non-standard installations.
If your extension is non-TEA compliant, i.e. uses a makefile, then you'll have to do some hacking.
Alas, I'm not an expert on TEA--it seems somewhat black magic to me. But the examples are supposedly pretty straightforward.
Leopard supposedly has 8.4.7 installed--they didn't update anything from Tiger. That's caused a bit of an uproar on the Tcl-Mac list.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
.
- References:
- Prev by Date: Re: compiling C extension on Mac -- which version Tcl on new Leopard
- Next by Date: Re: fixed: expect_out(buffer) and tab character
- Previous by thread: Re: compiling C extension on Mac -- which version Tcl on new Leopard
- Index(es):
Relevant Pages
|