Re: Cross-compiling 64bit library sha256 for Windows 7 64bit with critcl

Zbigniew Diaczyszyn <[email protected]> Sat, 02 Jul 2011 08:10:08 +0200
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Richard Ellis offered a workaround:

* Get the latest file from:

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/mingw-w64-bin_i686-linux_20110627.tar.bz2/download

* Unpack it to <my-mingw64-path>

* remove machine and cpu description from the binaries' name: 

   cd <my-mingw64-path>/mingw/bin
   for name in * ; do mv -v $name ${name:19} ; done

* Add to PATH: export PATH=<my-mingw64-path>/mingw/bin:$PATH

* Run: tclkit critcl.kit -pkg sha256c.tcl

Cross compiling for Windows using Xmingwin
Source: sha256c.tcl 
Library: sha256c.dll
Package: /home/dia/Projekte/gorilla/lib/sha256c

As I have seen there is a version 2 for critcl.kit at http://www.digitalsmarties.com/pub/
dated 01-Apr-2010. It is offering a configuration file for comfortable setting of Cflags and Ldflags.
So the best will be to set there a working win64 configuration including the "-m64" option.




-- 
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