<div dir="ltr"><a href="https://ci.inria.fr/pharo/computer/pharo-win7-32.ci.inria.fr/">https://ci.inria.fr/pharo/computer/pharo-win7-32.ci.inria.fr/</a> looks like 32-bit to me indeed :-)<br></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr"><div>---</div><div>Philippe Back</div><div>Dramatic Performance Improvements</div><div>Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027</div><div><a href="mailto:Mail%3Aphil@highoctane.be" target="_blank">Mail:phil@highoctane.be</a> | Web: <a href="http://philippeback.eu" target="_blank">http://philippeback.eu</a></div>
<div>Blog: <a href="http://philippeback.be" target="_blank">http://philippeback.be</a> | Twitter: @philippeback</div><div>Youtube: <a href="http://www.youtube.com/user/philippeback/videos" target="_blank">http://www.youtube.com/user/philippeback/videos</a></div>
<div><br></div><div>High Octane SPRL</div><div>rue cour Boisacq 101 | 1301 Bierges | Belgium</div><div><br></div><div>Pharo Consortium Member - <a href="http://consortium.pharo.org/" target="_blank">http://consortium.pharo.org/</a></div>
<div>Featured on the Software Process and Measurement Cast - <a href="http://spamcast.libsyn.com" target="_blank">http://spamcast.libsyn.com</a><br></div><div>Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller</div>
<div> </div><div><br></div></div></div>
<br><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 11:20 AM, Camillo Bruni <span dir="ltr"><<a href="mailto:camillobruni@gmail.com" target="_blank">camillobruni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>ok, you just discovered a minor mess... onto fixing it quickly..<br>
<br>
On 2013-11-19, at 11:16, <a href="mailto:phil@highoctane.be">phil@highoctane.be</a> wrote:<br>
<br>
> I found why the vmVersionInfo.h isn't there...<br>
><br>
> build.sh contains:<br>
><br>
> #!bash<br>
><br>
> if [ ! -e vmVersionInfo.h ]; then<br>
> ../codegen-scripts/extract-commit-info.sh<br>
> fi<br>
> cmake -G "MSYS Makefiles" .<br>
> make<br>
><br>
><br>
> and ../codegen-scripts/extract-commit-info.sh is nowhere to be found from the git clone...<br>
><br>
> It lives in scripts/<br>
><br>
> Phil<br>
><br>
><br>
><br>
><br>
> On Tue, Nov 19, 2013 at 11:01 AM, <a href="mailto:phil@highoctane.be">phil@highoctane.be</a> <<a href="mailto:phil@highoctane.be">phil@highoctane.be</a>> wrote:<br>
> I've been moving forward with building the VM for Windows from the GitHub sources with MinGW.<br>
><br>
> Now, to get the thing to compile, I had to replace the oft_t things by _oft_t, same for the 64 flavor.<br>
><br>
> So, modifiying two header files, one being mingw.h where I put #define oft_t _oft_t at the end.<br>
><br>
> This did the trick and I now have all plugins/dlls building fine:<br>
><br>
> FT2Plugin.dll<br>
> libcairo-2.dll<br>
> libeay32.dll<br>
> libfreetype-6.dll<br>
> libfreetype.dll.a<br>
> libFT2Plugin.dll.a<br>
> libpixman-1-0.dll<br>
> libpng-3.dll<br>
> libSqueakFFIPrims.dll.a<br>
> libSqueakSSL.dll.a<br>
> SqueakFFIPrims.dll<br>
> SqueakSSL.dll<br>
> ssleay32.dll<br>
> zlib1.dll<br>
><br>
> are in results/<br>
><br>
> Also, to get there, one has to create a vmVersionInfo.h file in platforms\Cross\vm with something in the REVISION_STRING<br>
><br>
> #define REVISION_STRING "Pharo VM - Philippe Back from GitHub Sources 20131119"<br>
><br>
> I wonder why this isn't something automagically generated in the process as it seems that the CI build has something.<br>
><br>
> The last step is getting Pharo.exe to link but this doesn't work:<br>
><br>
> Linking C executable /C/MinGW/msys/1.0/home/Philippe/pharo-vm/results/Pharo.exe<br>
> c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin<br>
> d -lcrtdll<br>
> collect2.exe: error: ld returned 1 exit status<br>
> make[2]: *** [C:/MinGW/msys/1.0/home/Philippe/pharo-vm/results/Pharo.exe] Error<br>
> 1<br>
> make[1]: *** [CMakeFiles/Pharo.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
><br>
> Looks like a library path is wrong or else.<br>
><br>
> Idea?<br>
><br>
> Also, there are quite a number of warnings spit out during the compiling process all over the place, more than the Mac VM build I think.<br>
><br>
> e.g.<br>
><br>
> [ 92%] Building C object CMakeFiles/Pharo.dir/C_/MinGW/msys/1.0/home/Philippe/ph<br>
> aro-vm/platforms/win32/vm/sqWin32Prefs.c.obj<br>
> In file included from C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/Cross/v<br>
> m/sq.h:193:0,<br>
> from c:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/v<br>
> m/sqWin32Prefs.c:20:<br>
> C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/vm/sqPlatformSpecific.h<br>
> :52:0: warning: "VM_EXPORT" redefined [enabled by default]<br>
> # define VM_EXPORT __declspec( dllexport )<br>
> ^<br>
> In file included from c:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/v<br>
> m/sqWin32Prefs.c:20:0:<br>
> C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/Cross/vm/sq.h:48:0: note: thi<br>
> s is the location of the previous definition<br>
> #define VM_EXPORT<br>
> ^<br>
> [ 93%] Building C object CMakeFiles/Pharo.dir/C_/MinGW/msys/1.0/home/Philippe/ph<br>
> aro-vm/platforms/win32/vm/sqWin32Utils.c.obj<br>
> In file included from C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/Cross/v<br>
> m/sq.h:193:0,<br>
> from c:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/v<br>
> m/sqWin32Utils.c:14:<br>
> C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/vm/sqPlatformSpecific.h<br>
> :52:0: warning: "VM_EXPORT" redefined [enabled by default]<br>
> # define VM_EXPORT __declspec( dllexport )<br>
> ^<br>
> In file included from c:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/win32/v<br>
> m/sqWin32Utils.c:14:0:<br>
> C:/MinGW/msys/1.0/home/Philippe/pharo-vm/platforms/Cross/vm/sq.h:48:0: note: thi<br>
> s is the location of the previous definition<br>
> #define VM_EXPORT<br>
><br>
> Phil<br>
><br>
<br>
<br></blockquote></div><br></div>