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