[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] path to .def files
From: |
grischka |
Subject: |
Re: [Tinycc-devel] path to .def files |
Date: |
Tue, 03 Sep 2019 11:06:38 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
AndreyCh wrote:
Hello,
How can I add the path to .def files,
the -I or -L switch does not work.
tcc -vv glfw.def opengl32.def glu32.def -DGLFW_DLL -run triangle.c
-L always has an effect only in combination with -l :
tcc -L<path> -lglfw ...
With this tcc will look in <path> for
glfw.def, libglfw.def, glfw.dll, libglfw.dll, libglfw.a
in that order (unless -static is given in which case tcc will
look for libglfw.a only.)
tcc -vvv ... shows unsuccessful attempts too (nf = not found)
-- gr
Thank.