tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] undefined symbols with -static


From: Vladimir G. Ivanovic
Subject: [Tinycc-devel] undefined symbols with -static
Date: Mon, 14 Apr 2003 21:57:13 -0700

I get:

   $ tcc -static -o helloworld helloworld.c 
   tcc: undefined symbol '_dl_num_relocations'
   tcc: undefined symbol '_dl_num_cache_relocations'

on a fully updated(*) Linux Red Hat 8.0 (2.4.18-17, glibc-2.2.93-6cw).
Substituting "-shared" for "-static" works fine (and blazingly fast!)

I get the same results using either the TCC RPM (0.9.17) or the latest
0.9.18 distribution, which built and tested OK.

Am I doing something wrong?

Thanks.

--- Vladimir

(*) The glibc's are Red Hat 2.2 glibc's that have the Red Hat 2.3 glibc
security fixes backported. (CrossOver Office 1.3.1 won't run with the
newer glibc 2.3, although CrossOver Office 2.0 (in public beta) will.)

------------------------------------------------------------------------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         address@hidden
Palo Alto, CA 94306-2447                                 +1 650 678 8014





reply via email to

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