tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Question on creating a object file from a program in stri


From: Jin Qian
Subject: [Tinycc-devel] Question on creating a object file from a program in string format
Date: Sat, 25 Jun 2016 17:06:48 +0000 (UTC)


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?

Here is the modified example.   http://pastebin.com/raw/ntx28sgk
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!

reply via email to

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