[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] static linking with tcc on i386 linux
From: |
Clemens Kolbitsch |
Subject: |
[Tinycc-devel] static linking with tcc on i386 linux |
Date: |
Tue, 27 Nov 2007 16:20:40 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 0.20070907.709405) |
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] static linking with tcc on i386 linux,
Clemens Kolbitsch <=