Re: load issue with extension in a tclkit

Schelte Bron <[email protected]> Fri, 30 Aug 2013 12:00:49 +0200
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
On 08/30/2013 10:12 AM, Zbigniew Diaczyszyn wrote:
> I tried to create an extension with the following parameters:
>
> gcc -Wall -shared -fPIC -I ~/Programme/Active-Tcl-8.5/include/ -L ~/Programme/Active-Tcl-8.5/lib/ -ltclstub8.5 -o twofish.so twofish2tcl.c -DUSE_TCL_STUBS
>
The order of the gcc arguments is important. Try:

gcc -Wall -shared -fPIC -DUSE_TCL_STUBS -I 
~/Programme/Active-Tcl-8.5/include/ -o twofish.so twofish2tcl.c -L 
~/Programme/Active-Tcl-8.5/lib/ -ltclstub8.5


Schelte.

-- 
-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en
--- 
You received this message because you are subscribed to the Google Groups "starkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.