云帆江 wrote:
hi
i am just a newbie on this,and i found many code sample written in cpp
not c
and the opengl lib for mingw seems dont work well on my system,can u
give an simple example and all files tarball
tcc is only C, not C++. If your concern is more on developing
apps, perhaps it's wise to stick to a more commonly used compiler.
OpenGL on MinGW works fine for me. You should stick to MinGW, it
works fine for a lot of people. Are you sure the code samples are
written for MinGW or in a platform neutral way? You can ask for
help on the MinGW list, or if you are using OpenGL with SDL, you
can ask on the SDL list.
---------------------------------------------------------------------------------
Date: Thu, 18 Dec 2008 11:34:57 +0200 (EET)
From: Kenneth Forsb?ck
Subject: Vs: [Tinycc-devel] opengl lib for tinyCC?
[snip]
I have found that the "official" OpenGL headers or the ones from MinGW
work quite well. You could also just tiny_impdef the OpenGL libraries
you are using and just let the linker do most of the work, although that
would make debugging your code more difficult (compiler not able to
check the routine definitions).
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel