hi everyone!
i am working with tcc on kubuntu (debian) linux on an i386 and have been using 
it without problems (ever since applying the patch to resolve the AS_NEEDED 
issue).

however, when compiling a static binary, i still have problems (this has been 
addressed some years ago in this list but never been answered :-( ).

the thing is: i want to compile in statically a different (personally 
modified) version of the glibc as i don't really want to install it and mess 
up my whole system ;-)

my call:
$ tcc -L/path-to-glibc-2.7/build/ -o test -static myfile.c
brings

/usr/lib/libc.a: '_nl_category_name_idxs' defined twice
...
/usr/lib/libc.a: '_nl_category_name_idxs' defined twice
tcc: undefined symbol '_Unwind_Resume'
tcc: undefined symbol '__gcc_personality_v0'
tcc: undefined symbol '_Unwind_Backtrace'
tcc: undefined symbol '_Unwind_GetIP'
tcc: undefined symbol '_Unwind_GetGR'
tcc: undefined symbol '_Unwind_GetCFA'

any ideas for that? (with gcc that very same command works just fine and 
leaving out the "-static" works as well)

thankful for any hints :-)
Clemens


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to