Re: Compiling struct Branch with Open Watcom
- Posted by mattlewis (admin) May 29, 2012
- 1259 views
andi49 said...
said...
make sure to run wmake clean and configure again or run configure with a new build dir.
there may be other problems with windows. I wasn't able to build the last few revs with minGW different error though.
Yes, there seems to be problems with Windows. It was a clean setup, freshly cloned. And a build with MinGw also failed.
be_alloc.c:862:8: error: conflicting types for 'NewPreallocSeq' be_alloc.h:203:15: note: previous declaration of 'NewPreallocSeq' was here make[2]: *** [C:/MinGW/msys/1.0/usr/src/euphoria/source/build/intobj/back/be_al oc.o] Error 1 make[2]: Leaving directory `/usr/usr/src/euphoria/source' make[1]: *** [interpreter] Error 2 make[1]: Leaving directory `/usr/usr/src/euphoria/source' make: *** [all] Error 2
Are you certain that you're using the lates? This should be fixed. I see, in be_alloc.h and be_alloc.c:
extern object NewPreallocSeq(intptr_t size, s1_ptr s1); object NewPreallocSeq(intptr_t size, s1_ptr s1)
I think it was fixed at one point, had a regression, and was fixed again on April 27th of 2012.
You should see something like this:
$ hg su parent: 5552:63c7d7d22b8a * merge trunk into structs branch branch: struct commit: 22983 unknown (clean) update: (current)
I have not tried Watcom in some time on the structs branch. I was able to cross compile using MinGW, 32-bits and 64-bits:
$ i686-w64-mingw32-gcc --version i686-w64-mingw32-gcc (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ x86_64-w64-mingw32-gcc --version x86_64-w64-mingw32-gcc (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Matt