Robert Griesemer (who wrote the compiler) has suggested a fix for the bool
conversion problem in growablearray, which I have tried out under VS8 and
committed to the repository. Basically it just maps bool back to int. It
turns out that the new bool basic type in C++ is just not very well thought
out, and can cause nasty implicit conversion bugs, so it is probably better
to just have it treated as an int. Bool is now declared as
typedef int _bool_type_;
#define bool _bool_type_
in types.hpp.
Please try this out under GCC and see if it solves that error.
Robert may be willing to help out with getting a GCC/MacOS port to work,
which would be great, although he is pretty busy. So it may be time for us
to start creating separate branches in the repository for these porting
activities.
Do you two have any thoughts about how we should set up such branches,
vis-a-vis the relationship between the Win32/GCC and Mac ports?
Cheers,
Dave
I am trying to compile the .asm files with nasm and yasm but w/o
success.
In order to get the files with embedded ASM bits compiled, I had to
decorate the ASM bits like this (e.g. vm/memory/debugPrintable.cpp:114
#if defined(WIN32) && defined (_MSC_VER)
__asm { mov fp, ebp }
#elif (defined (__i386__) || defined (__x86_64__)) && defined
(__GNUC__) && __GNUC__ >= 2
__asm__("movl %%ebp, %0" : "=r" (fp));
#endif
Shamelessly copied from Thiago's patches.
Obviously, when trying to build the executable, a lot of references are
not resolved, no suprise there. Those references are inside the
compiled ASM files.
Can't use the checked-in .obj files so I am stuck here.
Will have to revisit it at a later stage.
My next step is to figure out how MakeDeps really works.
When I use it with default values, the file incls/_precompiled.incl is
created empty.
The other files are created nicely, with the same content as the
incls.zip attached to previous postings.
Ciao, derweil,
--
Carlo
Maybe this will work:
make -f Makefile.win32 lists
-- kjk