tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] problem compiling tcclib_test.c


From: 刘国华
Subject: [Tinycc-devel] problem compiling tcclib_test.c
Date: Tue, 26 Dec 2006 21:58:24 +0800

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
                       address@hidden

                2006-12-26
              




reply via email to

[Prev in Thread] Current Thread [Next in Thread]