List,
we've compiled the 3.9-4 VM on the cygwin platform, only minor "*nix'en are platform[tm] independent" problems to solve:
FIONBIO is in <sys/socket.h> # define O_ASYNC O_NONBLOCK timezone is _timezone (define is not part of cygwin)
These three issues where solved using www.google.com :-) other people have already had this cygwin experience.
#include "debug.h" (moved further down, dprintf must be redefined) # define dprintf(...) __sq_dprintf(__VA_ARGS__)
There is a nice overview, on what gcc supports when it comes to variadic macros, at
- http://gcc.gnu.org/onlinedocs/gcc/Variadic-Macros.html
But the main problem is, compared to the subject line, ls -l /usr/local/lib/squeak/3.9-4/ -rw-r--r-- 1 kWitzel None 310484 May 15 11:56 B3DAcceleratorPlugin.a -rw-r--r-- 1 kWitzel None 57442 May 15 11:56 PseudoTTYPlugin.a -rw-r--r-- 1 kWitzel None 97012 May 15 11:56 UnixOSProcessPlugin.a -rw-r--r-- 1 kWitzel None 50022 May 15 11:56 XDisplayControlPlugin.a -rwxr-xr-x 1 kWitzel None 2386463 May 15 12:33 squeak.exe -rw-r--r-- 1 kWitzel None 326214 May 15 11:56 vm-display-X11.a -rw-r--r-- 1 kWitzel None 98856 May 15 11:56 vm-display-null.a -rw-r--r-- 1 kWitzel None 77634 May 15 11:56 vm-sound-OSS.a -rw-r--r-- 1 kWitzel None 26792 May 15 11:56 vm-sound-null.a
A similiar problem is mentioned at
- http://macos.tuwien.ac.at:9009/519430413.asHtml
and because the scripts balks when linking npsqueak, we run --without-npsqueak
- http://bugs.impara.de/view.php?id=559
Question: how can vm-display-X11.so be made, what's the trick?
Suggestions, pointers, URLs, all warmly appreciated.
/Klaus
P.S. captured stdout and stderr from make and from ./config.status, if that is needed.
Hi Bert,
on Mon, 15 May 2006 13:38:40 +0200, Bert Freudenberg bert@impara.de wrote:
Am 15.05.2006 um 12:43 schrieb Klaus D. Witzel:
we've compiled the 3.9-4 VM on the cygwin platform
Excuse my ignorance, but, why?
Couldn't find any other environment which compiles the 3.9 VM to run under windoze, easy that is. The only official source for squeak on win32 has the older 3.7.1 VM
- http://www.squeakvm.org/win32/
Q into the other direction: why not, any problem?
/Klaus
- Bert -
Am 15.05.2006 um 13:46 schrieb Klaus D. Witzel:
Hi Bert,
on Mon, 15 May 2006 13:38:40 +0200, Bert Freudenberg bert@impara.de wrote:
Am 15.05.2006 um 12:43 schrieb Klaus D. Witzel:
we've compiled the 3.9-4 VM on the cygwin platform
Excuse my ignorance, but, why?
Couldn't find any other environment which compiles the 3.9 VM to run under windoze, easy that is.
And what do you need a 3.9 VM for? I'm pretty sure you can happily run the 3.9 image even with a 3.7 VM. There haven't been major changes AFAIK.
That aside, I agree we need to get 3.9 VM sources into an easily findable place.
The only official source for squeak on win32 has the older 3.7.1 VM
IIRC then the most recent Squeak VM for Windows can be found in the Croquet package. Not sure about the sources for that, might be in SVN?
Q into the other direction: why not, any problem?
Well, I doubt anyone did that, yet. If it works at all (not sure how unixy cygwin actually is) you'll have to run an X server to see anything ...
- Bert -
Hi Bert,
on Mon, 15 May 2006 14:12:26 +0200, you bert@impara.de wrote:
Am 15.05.2006 um 13:46 schrieb Klaus D. Witzel:
Hi Bert,
on Mon, 15 May 2006 13:38:40 +0200, Bert Freudenberg bert@impara.de wrote:
Am 15.05.2006 um 12:43 schrieb Klaus D. Witzel:
we've compiled the 3.9-4 VM on the cygwin platform
Excuse my ignorance, but, why?
Couldn't find any other environment which compiles the 3.9 VM to run under windoze, easy that is.
And what do you need a 3.9 VM for?
That was a simple investment decision (investing into the future can be done when no longer investing into the past). Nothing more, nothing else.
I'm pretty sure you can happily run the 3.9 image even with a 3.7 VM. There haven't been major changes AFAIK.
Well, had the same thought. But giving the 3.9 VM a try was considered as costly (or as inexpensive, it depends) as trying the 3.9 image with a home-compiled 3.7 VM. Who does the latter anyways? There the seem to be not many (besides the VM's maintainers, Spoon, Croquet, Exupery) VMMaker users.
That aside, I agree we need to get 3.9 VM sources into an easily findable place.
Great!
The only official source for squeak on win32 has the older 3.7.1 VM
IIRC then the most recent Squeak VM for Windows can be found in the Croquet package. Not sure about the sources for that, might be in SVN?
Now that you mention it: we DID try (1x) the win32 scripts from the trunk, to no avail under win32 :-( could have searched for a backwards+serialization+compatible JVM during the same time with the same result ;-)
Q into the other direction: why not, any problem?
Well, I doubt anyone did that, yet. If it works at all (not sure how unixy cygwin actually is)
For me it is easier to tell my colleagues to use *nix scripts, [easier for them] than to use the non-(Visual-scream+and+shout) 3.7.1 script material. We'll see if that (doing it under+for cygwin) works.
you'll have to run an X server to see anything ...
Sure. At the moment we'd be happy if it would read script files. We think we will use X only for close-encounter debugging (perhaps someone can find a non-X fb.h for cygwin?).
/Klaus
- Bert -
we've compiled the 3.9-4 VM on the cygwin platform...
Great! I'm interested in this, because it'd be nice to have the relative ease of the unix build environment (note that I said *relative* ease :) on those darned windoze boxes. The Visual Studio debugger is rather good, but creating the fiddly bits for the environment (compiler settings, dependencies, etc.) is even more tedious than with makefiles etc.
If the C debugging facilities with cygwin are decent, I would happily dump the microsoft stuff completely.
thanks!
-C
Hi Craig,
on Tue, 16 May 2006 00:50:51 +0200, you craig@netjam.org wrote:
we've compiled the 3.9-4 VM on the cygwin platform...
Great! I'm interested in this, because it'd be nice to have the relative ease of the unix build environment (note that I said *relative* ease :) on those darned windoze boxes. The Visual Studio debugger is rather good, but creating the fiddly bits for the environment (compiler settings, dependencies, etc.) is even more tedious than with makefiles etc.
Unfortunately the future of that Visual+scream+and+shout debugger is, you can no longer make changes and continue - "just" recompile then rerun ...
If the C debugging facilities with cygwin are decent, I would happily dump the microsoft stuff completely.
Then, here we come: http://www.juno.co.uk/products/190142-01.htm :-)
I prefer the album version :-) BTW my tools converted TV spots with that song - http://www.publisuisse.ch/deutsch/website/publispot/level0/spot_index.cfm Type either Peugeot or the number 179945 into the field named SUISA, enter, then select Peugeot 1007 and enjoy.
thanks!
/Klaus
vm-dev@lists.squeakfoundation.org