path to .def files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

path to .def files

AndreyCh
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

Thank.




--
AndreyCh <[hidden email]>

_______________________________________________
Tinycc-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Reply | Threaded
Open this post in threaded view
|

Re: path to .def files

grischka
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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel