tags:

views:

107

answers:

0

Command line for compilation of program which uses GLib:

C:\Old\TCC\tcc.exe -g -bt 8 1.c glib-2.0.def -lglib-2.0.dll -I"C:/Old/Libs/GLib/include/glib-2.0" -I"C:/Old/Libs/GLib/include" -I"C:/Old/Libs/GLib/lib/glib-2.0/include" -L"C:/Old/Libs/GLib/lib" -o 1.exe

I receive error: glib-2.0.def:1: unrecognized export definition file format

In GCC I don't need to include .def file and program compiles and executes well. What do I need to do in TCC case?