home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / atari / st / 11831 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  2.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!zrz.tu-berlin.de!gmdtub!prosun!ralph
  2. From: ralph@prosun.first.gmd.de (Ralph Berg)
  3. Newsgroups: comp.sys.atari.st
  4. Subject: Re: Problems with GCC 2.1 and *80.inc/libs !!!!!
  5. Message-ID: <2112@bigfoot.first.gmd.de>
  6. Date: 29 Jul 92 07:32:08 GMT
  7. References: <2099@bigfoot.first.gmd.de> <9582@uqcspe.cs.uq.oz.au>
  8. Sender: news@bigfoot.first.gmd.de
  9. Organization: GMD-FIRST, D-1000 Berlin 10
  10. Lines: 56
  11.  
  12. In article <9582@uqcspe.cs.uq.oz.au>, warwick@cs.uq.oz.au (Warwick Allison) writes:
  13. |> In <2099@bigfoot.first.gmd.de> ralph@prosun.first.gmd.de (Ralph Berg) writes:
  14. |> 
  15. |> >The installation of the libraries by replacing the old by the newest one.
  16. |> 
  17. |> This is what is causing most of the trouble.  PLEASE people, scrap all the
  18. |> old version and replace it with version 2.1 clean-slate.  If you really
  19. |> want, keep the old version (renaming the directory to GUMBY.GCC, for example),
  20. |> but DO NOT mix them.  And you DON'T need to add any symbols to gnu.olb, if
  21. |> the linker says one is missing, the problem is you set-up.  Flaky hacks like
  22. |> simple adding blank versions of the symbol is just asking for trouble (eg.
  23. |> maybe "split_mem()" is only called when you use up 128K of heap space?!!?!!
  24. |> 
  25. |> 
  26. |> --
  27. |> Warwick
  28. |> --
  29. |>   _-_|\      warwick@cs.uq.oz.au            /Disclaimer:
  30. |>  /     * <-- Computer Science Department,  /  
  31. |>  \_.-._/     University of Queensland,    /      void (if removed)
  32. |>       v      Brisbane, Australia.        /  
  33.  
  34.  
  35.  
  36. Mixing this up on my installation, that's my fault. But there wouldn't be
  37. any problem, if there was the startup.zoo containing the new crt0.o,gcrt0.o,
  38. mcrt0.o and mgcrt0.o. 
  39. Jwahar J. Bammi said, that this and the update to Patchlevel 82 will
  40. be as update23.zoo as soon on a.a.
  41.  
  42. >  J.J. Bammi O-TONE
  43. >i forgot to answer this: _split_mem is an internal variable that indicates
  44. >that we are on a split memory address atari machine (like the TT, jim allens
  45. >T-30 etc). When true, depending on the value of _stksize, dynamic memory
  46. >allocation occurs from one address space, and when it runs out, further
  47. >allocations occur from the second address space. this way we take advantage
  48. >of the entire available address space, even though it is not contiguous. the
  49. >gnu C library is one of the few on the atari ST that actually does this. the
  50. >others run out, when the address space they run in runs out, even though the
  51. >other address space has'nt been touched.
  52.  
  53.  
  54. So split_mem is a variable set by the startup code saying that the malloc
  55. function has to regard the splitted memory modell like the TT.
  56. But why did my hack ( appending an object file split_mem.o including 
  57.     "long _split_mem = 0L;"
  58. to gnu.olb with <ar vq gnu.olb split_mem.o> ) NOT work???
  59.  
  60. Where is the fault?????
  61.  
  62.  
  63. ralph
  64.  
  65.  
  66. ralph@gmd.first.de
  67.  
  68.