On 7 Nov 2002 at 17:08, Markus Gerwinski wrote:
Compiling them with
gpc -c foo.pas gcc footest.c -o footest
leads to an error message "undefined reference to `Bar'".
The second command line doesn't include "foo.o", so the linker has no way to resolve "Bar". Try:
gcc footest.c foo.o -o footest
-- Dave