frohne@pur-ee.UUCP (Henry R Frohne) (02/09/88)
Does anyone have a reference they could point me to that has hints on converting C programs from Aztec/Manx to Lattice? It seems that every time I get a good program I would like to modify, it is in Manx. (I am sure that if I had a Manx compiler it would be the other way around.) I am really a newcomer to C, but one of the things I have read many times is that C is PORTABLE. I have found that to be the case with the C code written FOR OTHER COMPUTERS and ported to the amiga, but not between the two major C compilers for the amiga. So what I need is a source of tips for converting Manx to Lattice. Most often I get a message from the linker saying that this or that function can't be found; do I want to define it as _stub? Occasionally I have found hints in the source as to what those functions do and have been able to write my own replacements. The other problem I've had is the compile time error; these are not quite as hard to figure out because you can look them up in the manual and work from there. So to summarize: 1. Does anyone have a reference with hints on conversions from Manx to Lattice? 2. What other solutions to this problem are there? Does everyone just buy both compilers? Maybe that is what Manx and Lattice want.... 3. Is there a library of C programs available that will fill in the missing functions in each? Thanks for the help! Rob Frohne uucp address: {hplabs, ihnp4}!pur-ee!frohne