hello.ob2
## Код:
```
<*+ MAIN *>
MODULE hello;

IMPORT InOut;

BEGIN
  InOut.WriteString ("Hello World!");
  InOut.WriteLn;
END hello.
```


makefile
## Код:
```
LIB=C:/bin/XDS/INCLUDE

all: translate build

translate:
   xm hello.ob2

build:
   gcc hello.c -I$(LIB)
```


под cygwin:

транслирует ок
но при компиляции ошибка
## Код:
```
xm hello.ob2
XDS Oberon-2 v2.40 [ANSI C v4.20] - build 10.05.2005
Compiling "hello.ob2"
no errors, no warnings, lines    9, time  0.01
gcc hello.c -IC:/bin/XDS/INCLUDE
/tmp/cchkh3HL.o:hello.c:(.text+0x35): undefined reference to `X2C_BEGIN'
/tmp/cchkh3HL.o:hello.c:(.text+0x35): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `X2C_BEGIN'
/tmp/cchkh3HL.o:hello.c:(.text+0x3a): undefined reference to `InOut_BEGIN'
/tmp/cchkh3HL.o:hello.c:(.text+0x3a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `InOut_BEGIN'
/tmp/cchkh3HL.o:hello.c:(.text+0x46): undefined reference to `X2C_MODULE'
/tmp/cchkh3HL.o:hello.c:(.text+0x46): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `X2C_MODULE'
/tmp/cchkh3HL.o:hello.c:(.text+0x57): undefined reference to `InOut_WriteString'
/tmp/cchkh3HL.o:hello.c:(.text+0x57): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `InOut_WriteString'
/tmp/cchkh3HL.o:hello.c:(.text+0x5c): undefined reference to `InOut_WriteLn'
/tmp/cchkh3HL.o:hello.c:(.text+0x5c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `InOut_WriteLn'
/tmp/cchkh3HL.o:hello.c:(.text+0x61): undefined reference to `X2C_EXIT'
/tmp/cchkh3HL.o:hello.c:(.text+0x61): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `X2C_EXIT'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
makefile:9: ошибка выполнения рецепта для цели «build»
make: *** [build] Ошибка 1
```


в visual studio 2013 comunity edition пробовал создать проект
прописал путь к include
аналогичные ошибки
## Код:
```
Warning   1   warning LNK4031: no subsystem specified; CONSOLE assumed   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\LINK   Project1
Error   2   error LNK2019: unresolved external symbol _X2C_BEGIN referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   3   error LNK2019: unresolved external symbol _X2C_EXIT referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   4   error LNK2019: unresolved external symbol _X2C_MODULE referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   5   error LNK2019: unresolved external symbol _InOut_WriteLn referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   6   error LNK2019: unresolved external symbol _InOut_WriteString referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   7   error LNK2019: unresolved external symbol _InOut_BEGIN referenced in function _main   c:\Users\user\documents\visual studio 2013\Projects\Project1\Project1\hello.obj   Project1
Error   8   error LNK1120: 6 unresolved externals   c:\users\user\documents\visual studio 2013\Projects\Project1\Debug\Project1.exe   Project1
```
