[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GEM programming



Am Freitag, den 26.10.2012, 00:25 +0200 schrieb Martin Tarenskeen <m.tarenskeen@zonnet.nl>:


OK thanks. I tried your example.
when doing
	m68k-atari-mint-gcc -lgem -o hello hello.c
I'm getting error messages like:
	undefined reference to `_mt_appl_init'

It must be something simple that I am still missing.

Try to use -lgem as the last parameter. Otherwise, there maybe is a
problem with your m68k-atari-mint installation - did you install
the gemlib package? If not, then that is obviously missing.

If installation doesn't help (that means your setup is currently broken ..): try to specify the explicit path of
the gemlib:

m68k-atari-mint-gcc -o hello hello.c /usr/m68k-atari-mint/lib/libgem.a

Greets,
Ole