[Vm-dev] CMake for Windows?

Igor Stasenko siguctua at gmail.com
Sat May 8 16:50:03 UTC 2010

On 8 May 2010 18:21, David T. Lewis <lewis at mail.msen.com> wrote:
> On Sat, May 08, 2010 at 04:14:47PM +0200, Geoffroy Couprie wrote:
>> Hello,
>> On Thu, Apr 22, 2010 at 7:56 AM, laurent laffont
>> <laurent.laffont at gmail.com> wrote:
>> >
>> > On linux, configure fails:
>> > -- Configuring done
>> > CMake Error in CMakeLists.txt:
>> > ????Cannot find source file "aio.c". ??Tried extensions .c .C .c++ .cc .cpp .cxx
>> > ????.m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
>> > aio.c is in??.unix/vm/aio.c
>> Thank you for your answer! It is fixed in the new set of files:
>> http://eleves.ec-lille.fr/~couprieg/divers/changes-08-05-10.tar.gz
>> With these new files, I can now build the unix and win32 VM, from a
>> linux host. The unix VM works, but the win32 one needs a few other
>> changes to build, that I'll send with other patches.
>> A few notes:
>> -to build, you have to delete config.h from platforms/win32/vm, as it
>> is now generated by cmake
>> -for unix, use 'platforms/cmake/configure --src=<generated source
>> relative path> --version=4.0.2 --generator="Unix Makefiles" '
>> -for win32, use 'CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++
>> platforms/cmake/configure --src=<generated source relative path>
>> --version=4.0.2 --host=i586-mingw32msvc --generator="Unix Makefiles" '
>> These files are not yet ready to be included in the sources, they
>> still need some cleaning. But now, it works well :)
>> For the ones that were talking about setting up a squeak buildbot,
>> this will be useful!
>> Again, please test it, and feel free to comment.
> Geoffroy,
> I have not tried your CMake build yet (sorry), but building a range
> of Windows and Unix VMs on a single build host sounds like a very
> useful thing. Well done! I'm curious what others think of the idea.

I think its a good idea of having a least common denominator for building VMs.

> Dave

Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list