Hello everyone,

I tried to compile the tcclib sample "libtcc_test.c" on win32 platform and got 
the errors below:

tcc: undefined symbol 'tcc_new'
tcc: undefined symbol 'tcc_set_output_type'
tcc: undefined symbol 'tcc_compile_string'
tcc: undefined symbol 'tcc_add_symbol'
tcc: undefined symbol 'tcc_relocate'
tcc: undefined symbol 'tcc_get_symbol'
tcc: undefined symbol 'tcc_delete'

Following is the command line I used:

D:\tcc>tcc\tcc.exe -ID:\tcc\include -ID:\tcc\include\sys -D:\tcc\include\winapi 
-LD:\tcc\lib D:\tcc\examples\libtcc_test.c D:\tcc\lib\libtcc.a D:\tcc\lib\libtc
c1.a

It seems that the libcc.a doesn't export any functions or it is not a library 
which can be used on win32. Please give me some advices, thanks!

                    Liu Guo Hua
                       [EMAIL PROTECTED]

                2006-12-26
              
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to