martinn@csri.toronto.edu (Tippi Chai) (05/11/91)
To all you experienced ORCA C compiler gurus out there - HELP! We're working on a large program with ORCA/C and the compiler does strange and not so wonderful things, e.g. calling a routine at point B would cause the program to crash at point A, where A comes before B. Is anyone aware of a word alignment problem with ORCA/C? with one of the C compilers we've worked with on another system, if your program contains structs that are not explicity word aligned you'll have problems. If there is anyone out there who's familiar with the note synthesizer & sound generator, I'd LOVE to here from you. thanks in advance! -- "Conquer the Universe! Unimaginable Power! Unlimited Rice Pudding!" The Doctor Tippi Chai GUEST ON : {decvax,ihnp4,allegra}!utcsri!martinn || martinn@csri.toronto.edu Disclaimer: all opinions, pinions and onions expressed herein are solely mine.
gwyn@smoke.brl.mil (Doug Gwyn) (05/11/91)
In article <1991May10.192049.19984@jarvis.csri.toronto.edu> martinn@csri.toronto.edu (Tippi Chai) writes: >To all you experienced ORCA C compiler gurus out there - HELP! >We're working on a large program with ORCA/C and the compiler >does strange and not so wonderful things, e.g. calling a routine >at point B would cause the program to crash at point A, where >A comes before B. Is anyone aware of a word alignment problem >with ORCA/C? with one of the C compilers we've worked with >on another system, if your program contains structs that >are not explicity word aligned you'll have problems. Structure alignment is not an issue with ORCA/C, nor should it be for any correct C compiler. In the case of the 65816, data space is all byte addressable anyway. Bug symptoms (for either program or compiler bugs) can show up in quite strange ways. If you haven't upgraded to release 1.2 of ORCA/C, I urge you to do so IMMEDIATELY. That will solve a LOT of problems, although not all of them.
jb10320@uxa.cso.uiuc.edu (Desdinova) (05/11/91)
martinn@csri.toronto.edu (Tippi Chai) writes: >To all you experienced ORCA C compiler gurus out there - HELP! >We're working on a large program with ORCA/C and the compiler >does strange and not so wonderful things, e.g. calling a routine >at point B would cause the program to crash at point A, where >A comes before B. Is anyone aware of a word alignment problem >with ORCA/C? with one of the C compilers we've worked with >on another system, if your program contains structs that >are not explicity word aligned you'll have problems. The 65816 has no word alignment requirements. However, depending on which version of Orca you have, there are numerous bugs (including one in the new 1.2 which causes assignments to NULL to actually become assignments to whatever is in the accumulator. -- Jawaid Bazyar | Being is Mathematics Senior/Computer Engineering | Love is Chemistry jb10320@uxa.cso.uiuc.edu | Sex is Physics Apple II Forever! | Babies are engineering