[Top][All Lists]

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

Re: [Tinycc-devel] Linker problem

From: Philippe Ribet
Subject: Re: [Tinycc-devel] Linker problem
Date: Tue, 08 May 2007 13:13:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

Vincent Pit wrote:

Philippe Ribet a écrit :

I just downloaded the latest mercurial repository and I still get the
very same problem as described here:

The problem occurs with atexit and some other functions. My system is

This message appears many times:
/usr/lib/libc_nonshared.a: '__i686.get_pc_thunk.bx' defined twice

Here is the code I'm unable to compile:
#include <stdio.h>
#include <stdlib.h>

void finish() {
printf("The end...\n");
int main()
printf("Hello World\n");
return 0;

Does someone have any idea?

Thanks for any help,


This is related to
http://lists.gnu.org/archive/html/tinycc-devel/2007-04/msg00003.html and
the very recent
This problem happens because tcc doesn't handle visibility attributes. I
submitted a patch in the first of those links.
Thanks for the quick reply.

I remember I read your mail with the patch. I thought the patch was applied to the hg repository, that's why I tried again.

I just applied manually the patch and it works for me. Thanks!

PS: 'strip' does not work anymore on executables generated by tcc.

Philippe Ribet

                        The README file said
             "Requires Windows 95, NT 4.0, or better."
                   So... I installed it on Linux!

reply via email to

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