"Nickolai Leschov" <nl******@gmail.comwrote in message
news:fm**********@aioe.org...
Hello,
I want to tried to use Open Watcom for programming my i188, and I have a
couple of questions.
How do I make simple project compile?
Perhaps my sequence can help you out :
1) I updated the wlsystem file in the binw directory with the following
addition:
system begin embedded8086
end
2) I then created a very simple startup (cstart.obj, modified from
src\startup\dos) and small clib (clib88.lib).
3) To compile I do:
wcl -q -c -0 -fpc -mt -s -d0 -od -l=COM myfile.c
4) To link I do:
wlink file myfile.obj name myfile.bin @cc.lk
were cc.lk consist of:
system embedded8086
option NOCASEEXACT
option NODEFAULTLIBS
option map
option stack=1k
format dos com
libfile ...\mystartup\cstart.obj
library ...\myclib\clib88.lib
5) and finally I convert the bin file to Intel hex and upload it to my
board.
Hans
www.ht-lab.com
>I created a project with DOS target ( " DOS - 16 bit executable (.exe)" ),
but it doesn't see
the header files; neither mine nor standard ones.
Output looks like this:
< skip >
Error! E2028: _atexit is an undefined reference
Error! E2028: InitLib_ is an undefined reference
< skip >
The first line belongs to standard function, second one is function of my
device's system library.
How do I contact the developers of Open Watcom?
I can see their emails through bug tracker on the site, but maybe they can
be found on separate newsgroup or here?
Regards,
Nickolai Leschov