I found three bugs:
1)When I am compiling program with {$LINKLIB c} directive, I have got error, that cannot find gcc library ("d:/maciek/fpc/bin/go32v2/ld.exe: cannot find -lgcc").
2)When I am using printf function, I have got error message like this:
D:\MACIEK\/libC.a(doprnt.o)(.text+0xa61):doprnt.c: undefined reference to `__umo
ddi3'
D:\MACIEK\/libC.a(doprnt.o)(.text+0xaa0):doprnt.c: undefined reference to `__udi
vdi3'
My printf declaration: function printf(fm:pchar;args:array of const):integer;cdecl;external;
These functions are defined in libgcc.a. You need gcc for djgpp to link with libc. If you already have gcc installed then search were libgcc.a is located and add this location to the commandline of fpc using -Fl.
3)When I am writing number for Int64/QWord variables using ":=", i can write only Longint/Longword values.
The beta compilers (1.9.x) supports constants > maxlongint.
Peter
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
