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.


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to