home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / atari / st / 13047 < prev    next >
Encoding:
Text File  |  1992-08-31  |  2.7 KB  |  51 lines

  1. Newsgroups: comp.sys.atari.st
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ee.ualberta.ca!morrison
  3. From: morrison@ee.ualberta.ca (Robert Morrison)
  4. Subject: C compiler questions.
  5. Message-ID: <morrison.715326070@ee.ualberta.ca>
  6. Keywords: compiler,link,sozobon,gcc
  7. Sender: news@kakwa.ucs.ualberta.ca
  8. Nntp-Posting-Host: bode.ee.ualberta.ca
  9. Organization: University Of Alberta, Edmonton Canada
  10. Date: Tue, 1 Sep 1992 05:41:10 GMT
  11. Lines: 38
  12.  
  13. I have been playing around with some of the sample programs in "Atari ST: VDI"
  14. trying to get into graphical programming.  I have compiled programs with 
  15. Sozobon, GCC2.1, and also translated several of them into assembly.  I have no
  16. trouble getting the programs to work in assembly, so I have a benchmark of 
  17. what they are supposed to do when working correctly, but I would like to be able
  18. to achieve the same results in C.
  19.  
  20. Sozobon does not appear to have any provisions for linking in the libraries,
  21. so I have been using this technique:
  22.  
  23. > cc prog.c aesfast.a vdifast.a -o prog.prg -v
  24.  
  25. which does work, but seems a bit kludgey to me.  Any suggestions about what
  26. I can do better/differently.  Also, some of the VDI bindings do not seem to 
  27. work properly...for example,  vsm_height.  Is this a symptom of vdifast.a?
  28. Admittedly, vsm_xxxx are not critical functions, but a full implementation
  29. ought to include all existing functions.
  30.  
  31. GCC works somewhat better, but I am curious abouty the structure of the 
  32. library files.  They have .olb extensions, what does this mean?  I notice 
  33. that .a files (used with Sozobon) are not recognized by GCC.  Also, when I
  34. link in the 'gem.olb' library, things work fine, but if I link in 'gem16.olb'
  35. I get multiple bombs (three).  What is going on here?
  36.  
  37. I can write programs in assembly, but when I just want to get a feel for what
  38. the various functions _do_, C is way more convenient.  One last question, 
  39. does anyone know when the latest version of HSC is available, and what is
  40. the last version?  (And would they recommend its use?)
  41.  
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. |  Robert Morrison              morrison@bode.ee.ualberta.ca            | 
  44. |                               Edmonton, Alberta, Canada               |
  45. |  IBM Canada Ltd.              Ph:  (403) 439-9372                     |
  46. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. |  [The universe cannot be read until we have learnt the language and   |
  48. |  become familiar with the characters in which it is written.  It is   |
  49. |  written in mathematical language...    Galileo Galilei (1564-1642)   |
  50. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51.