New to TCC but very interested in its small footprint and fast COMPILE speed. Tried to create a object file from a short program in string format, the resulted "dummy.o" doesn't have any symbols. Any idea why?
I experimented with removing or adding the call "tcc_relocate" but there is no difference.
C:\temp> gcc -I libtcc -Llib -ltcc1 examples\libtcc_test.c -L. -llibtcc
it produced a program "a.exe".
C:\temp> a
C:\temp> nm dummy.o
nm: dummy.o: no symbols
Thanks!