Extra point:
Actual TCC error is given literally as tcc: cannot find -lLua.dll
If I am being equally literal, I infer that maybe TCC is parsing it strangely
and actually thinks that not only is the -l switch an instruction to link some
file, but also, -l is taken literally as a prefix to as
lostgallifreyan lostgallifre...@gmail.com writes:
Do the required deletions of device contexts (to spare GDI
resources) get done by code compiled by TCC, or do I have to do
this explicitly, as I do in wxLua, for example?
AFAIK, TCC does not have any specific support for Windows GDI
and does
Kalle Olavi Niemitalo k...@iki.fi wrote:
(02/04/2009 09:17)
lostgallifreyan lostgallifre...@gmail.com writes:
Do the required deletions of device contexts (to spare GDI
resources) get done by code compiled by TCC, or do I have to do
this explicitly, as I do in wxLua, for example?
AFAIK,
lostgallifreyan wrote:
Extra point:
Actual TCC error is given literally as tcc: cannot find -lLua.dll
Actually there is the hello_dll example that you should try
first to see how linking with a DLL works.
===
To clarify:
TCC (like most other compiler on windows except GCC) cannot link
DLL's
grischka gris...@gmx.de wrote:
(02/04/2009 13:05)
lostgallifreyan wrote:
Extra point:
Actual TCC error is given literally as tcc: cannot find -lLua.dll
Actually there is the hello_dll example that you should try
first to see how linking with a DLL works.
===
To clarify:
TCC (like most
grischka gris...@gmx.de wrote:
(02/04/2009 13:05)
Tip:
There is the entire Win32-API in a single .hlp file available on the
LCC-WIN32 site:
http://www.cs.virginia.edu/~lcc-win32/
ftp://ftp.cs.virginia.edu/pub/lcc-win32/win32hlp.exe
Nice one. Thanks. Just what I want. Site seems to be down at
Ok, I think I found the answer myself after all.
For those who need to know, here it is:
(I hope that a mailing list archive stores this so others have an easier time
than I did.)
This method was prepared for TCC v0.9.24. Make this DOS batch file:
@ECHO OFF
SET P=C:\lua-5.1.4
IF NOT EXIST
grischka gris...@gmx.de wrote:
(03/04/2009 00:31)
lostgallifreyan wrote:
(Some explicit DLL-making and linking command examples in TCC's
tcc-doc.html 'Quick Start' section would be nice).
Well, it's in docs/readme.txt.
That only works if the .def file exists, my problem was I couldn't