home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnusmalltalk / letter.diffs < prev    next >
Text File  |  1992-06-11  |  4KB  |  130 lines

  1.  
  2. Thank you again for your time. You ask what changes made, I have included 
  3. diff's for every file in the smalltalk-1.2 directory ( except ymakefile ).
  4. So as you can see not much as been changed. I did change the memory size,
  5. but I do not think that would be the problem. The program builds the 'mst.im'
  6. file fine.(at least it does not tell me of any errors). The problem comes
  7. when it tries to load mst.im. In the middle of the load my system comes to a
  8. halt. The last time I was patient, it spit out the following message after
  9. a several minutes
  10.  
  11. <unknown position> Class with nonpointer instance spec passed to instantiate
  12.  
  13. Since my computer is not a UNIX machine and does not run a SH compatible shell
  14. I was not able to use your make file. Instead I used the ymakefile stripped
  15. down. I am not very familar with make's or SH so I could not tell if your 
  16. makefile was doingthings that I have not replicated manually.
  17.  
  18. Here is the mstconfig.h I used ( minus the header )
  19.  
  20. #define BIG_ENDIAN
  21.  
  22. #define BSD_SIGNALS
  23.  
  24. #ifndef FOR_MAKE
  25.  
  26. /* This is the return type of routines that are declarable as signal handlers.
  27.  * may be void for some implementations
  28.  */
  29. typedef void    signalType;
  30.  
  31. /* use gcc's builtin alloca */
  32. #define alloca         __builtin_alloca
  33.  
  34. #include <stdlib.h>
  35. #include <stddef.h>
  36. #include <string.h>
  37. /*#include <unixlib.h>*/
  38. #include <stdio.h>
  39.  
  40. /* use superOptimized bcopy() instead of memcpy() */
  41. #define memcpy(to, from, n)    bcopy((from), (to), (n))
  42.  
  43. #endif /* FOR_MAKE */
  44.  
  45.  
  46. Thank you again for your help.
  47.  
  48.  
  49. Pass Travis
  50.  
  51.  
  52.  
  53. *** mstcint.c    Wed Jun 03 22:20:06 1992
  54. --- smalltalk-1.2/mstcint.c    Sun Mar 01 23:19:37 1992
  55. ***************
  56. *** 302,308 ****
  57.     extern void window_create();
  58.     extern int system();
  59.     extern char *getenv();
  60. !   extern int read(), write(), open(), close(), ioctl(), lseek()/*, tell()*/;
  61.   
  62.     defineCFunc("system", system);
  63.     defineCFunc("getenv", getenv);
  64. --- 302,308 ----
  65.     extern void window_create();
  66.     extern int system();
  67.     extern char *getenv();
  68. !   extern int read(), write(), open(), close(), ioctl(), lseek(), tell();
  69.   
  70.     defineCFunc("system", system);
  71.     defineCFunc("getenv", getenv);
  72. ***************
  73. *** 315,321 ****
  74.     /* defineCFunc("ioctl", myioctl); */
  75.     defineCFunc("ioctl", ioctl);
  76.     defineCFunc("lseek", lseek);
  77. ! /*  defineCFunc("tell", tell);*/
  78.   
  79.     /* just to round out the set */
  80.     defineCFunc("readChar", readChar);
  81. --- 315,321 ----
  82.     /* defineCFunc("ioctl", myioctl); */
  83.     defineCFunc("ioctl", ioctl);
  84.     defineCFunc("lseek", lseek);
  85. !   defineCFunc("tell", tell);
  86.   
  87.     /* just to round out the set */
  88.     defineCFunc("readChar", readChar);
  89. *** mstoop.c    Thu Jun 11 06:18:41 1992
  90. --- smalltalk-1.2/mstoop.c    Sun Mar 01 23:19:39 1992
  91. ***************
  92. *** 105,115 ****
  93.   /* you can increase this value if you need more space, and it won't hurt
  94.    * performance *if* your machine has enough physical memory (otherwise, you
  95.    * thrash the pager) */
  96. - #ifdef AMIGA
  97. - #define INIT_MEM_SPACE_SIZE        /*(512 * K) */ (1500 * K)
  98. - #else
  99.   #define INIT_MEM_SPACE_SIZE        /*(512 * K) */ (2 * K * K)
  100. - #endif
  101.   #else
  102.   #define INIT_MEM_SPACE_SIZE        (1152 * K) 
  103.   #endif
  104. --- 105,111 ----
  105. *** mstpaths.h-dist    Wed Jun 03 22:01:12 1992
  106. --- smalltalk-1.2/mstpaths.h-dist    Sun Feb 16 19:31:40 1992
  107. ***************
  108. *** 57,65 ****
  109.   #define __MSTPATHS__
  110.   
  111.   /* This defines where the kernel smalltalk (.st) files can be found */
  112. ! #define KERNEL_PATH "work2:projects/smalltalk-1.2"
  113.   
  114.   /* This defines where to search for the saved binary image */
  115. ! #define IMAGE_PATH "work2:projects/smalltalk-1.2"
  116.   
  117.   #endif /* __MSTPATHS__ */
  118. --- 57,65 ----
  119.   #define __MSTPATHS__
  120.   
  121.   /* This defines where the kernel smalltalk (.st) files can be found */
  122. ! #define KERNEL_PATH "/usr/gnu/smalltalk"
  123.   
  124.   /* This defines where to search for the saved binary image */
  125. ! #define IMAGE_PATH "/usr/gnu/smalltalk"
  126.   
  127.   #endif /* __MSTPATHS__ */
  128.  
  129.  
  130.