Hi all,
I'm new in this mailing list so I apologize if I'm not using it in the
correct way.
I'm reading the "Writing FreeDOS Programs in C" tutorial from FreeDOS
website by I'm stuck in the "Part 8. Console Programming (conio)".
On a brand new FreeDOS installation, whatever I install OpenWatcom from
fdimples or through the OpenWatcom installation program, I cannot
compile even a simple C program because I always get the following error
from the linker:
Error! E3033: file __wcl__.lnk: line(1): directive error near 'ç'
Before using the "wcl" command I've setup the environment with the
proper BAT file as request. If I split the process using first "wcl"
with "-c" option (e.g.: "wcl -c prova.c") I get the OBJ file
("prova.obj") apparently with no error, but when I move ahead with "wcl"
command and the obj file it return that the obj file is not a correct
object file ("wcl prova.obj").
The C code I'm using for testing is very simple, it's just an "hello
world" program that I16GCC has no problem to compile, here it is:
-------------
#include <stdio.h>
int main()
{
printf("prova");
return 0;
}
-------------
Thanks if anyone has a guess on how to solve this issue.
Best regards,
Davide
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user