Changes for headless UNIX VM

Stephen T. Pope stp at create.ucsb.edu
Wed Dec 27 02:49:37 UTC 2000


Hi folks,

Here are the diffs necessary to make a truly headless VM on UNIX boxes,
since there were a few queries about it. Apply these diffs to the source
file sqXWindow.c and compile with -DHEADLESS in the Makefile -- I've
tested this on Solaris and Linux.

stp


--- CUT HERE ---

1537a1538
> #ifndef HEADLESS
1539c1540
< 
---
> #endif
3185a3187
> #ifndef HEADLESS
3189a3192
> #endif
3190a3194
> #ifndef HEADLESS
3191a3196
> #endif
3194a3200
> #ifndef HEADLESS
3196a3203
> #endif
3198a3206
> #ifndef HEADLESS
3200a3209
> #endif
3201a3211
> #ifndef HEADLESS
3204a3215
> #endif
3291a3303
> #ifndef HEADLESS
3297a3310
> #endif
3321d3333
<       else if (!strcmp(arg, "-headless"))	headless= 1;
3325a3338,3339
> #ifndef HEADLESS
>       else if (!strcmp(arg, "-headless"))	headless= 1;
3328,3329d3341
<       else if (!strcmp(arg, "-nojit"))		noJitter= 1;
<       else if (!strcmp(arg, "-spy"))		withSpy= 1;
3331a3344,3346
> #endif
>       else if (!strcmp(arg, "-nojit"))		noJitter= 1;
>       else if (!strcmp(arg, "-spy"))		withSpy= 1;
3343,3345d3357
< #         if !defined(HEADLESS)
< 	  else if (!strcmp(arg, "-display"))	displayName= saveArg();
< #         endif
3346a3359,3360
> #ifndef HEADLESS
> 	  else if (!strcmp(arg, "-display"))	displayName= saveArg();
3356a3371
> #endif

--- CUT HERE ---

-- 

stp
  Stephen Travis Pope
  http://www.create.ucsb.edu/~stp





More information about the Squeak-dev mailing list