Оберон-клуб «ВЄДАsoft» https://zx.oberon.org/forum/ |
|
innapropriate symbol file https://zx.oberon.org/forum/viewtopic.php?f=8&t=327 |
Страница 1 из 1 |
Автор: | slenkar [ 14 авг 2017, 17:12 ] |
Заголовок сообщения: | innapropriate symbol file |
i am importing this mod file: Код: "OBERON"
here is the sym file: Код: "OBERON"
when compiling ofront says the sym file is innapropriate and wont go any further. The sym file was compiled: ofront+ mapsquares.mod -e -s there is a warning about missing the .par file |
Автор: | Zorko [ 15 авг 2017, 10:52 ] |
Заголовок сообщения: | Re: innapropriate symbol file |
slenkar, the thing is that SDCC also creates files with the .sym extension. And they have a format that is different from the files that the Ofront produces. So do not mix them together. I, for example, keep .sym-files separately from .c and .h. And I'm doing all the work with symbol files, generated by Ofront, in a separate folders /Sym and /Lib/Sym. Be sure to use the correct Ofront.par. Look at ZXDev/Obj/Ofront.par - this is important for the correct compilation of your code. |
Автор: | slenkar [ 15 авг 2017, 14:54 ] |
Заголовок сообщения: | Re: innapropriate symbol file |
thanks that fixed it I was using B.AT (the basic command) with integers a long time ago, but now it says it is incompatible is there an int to char command? |
Автор: | Zorko [ 16 авг 2017, 13:29 ] |
Заголовок сообщения: | Re: innapropriate symbol file |
You don't need int to char command. Usually, in Oberon the type CHAR not used for working with numbers. Look at the definition of AT: Код: "OBERON"
If you really need to pass an INTEGER value, use: Код: "OBERON"
|
Автор: | slenkar [ 16 авг 2017, 13:33 ] |
Заголовок сообщения: | Re: innapropriate symbol file |
thanks ![]() |
Страница 1 из 1 | Часовой пояс: UTC + 2 часа |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |