O.k I got the bindings on my HD. Now, How I can compile some sample code with it?
Will this work if test.pas is the MAIN sourcefile, and the ncurses.pas (the binding) is in the same directory?
gpc -o test test.pas -L/usr/pkg/lib -lncurses -I/usr/pkg/include
I can take a look on both types (ncurses.pas and ncurses.h) when I know how to compile it correctly. But I don`t know If my programming knowledge is enough to adapt it.
Regards Karim
Karim Forsthofer wrote:
O.k I got the bindings on my HD. Now, How I can compile some sample code with it?
Will this work if test.pas is the MAIN sourcefile, and the ncurses.pas (the binding) is in the same directory?
gpc -o test test.pas -L/usr/pkg/lib -lncurses -I/usr/pkg/include
probably something like
[G5:~/Desktop/ncurses-gpc-20050730] adriaan% gpc --automake -o firework firework.pas -Wno-underscore -L/usr/pkg/lib [G5:~/Desktop/ncurses-gpc-20050730] adriaan% ./firework
Regards,
Adriaan van Os