tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Linker problem


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

Hello,

I just downloaded the latest mercurial repository and I still get the very same problem as described here:
http://lists.gnu.org/archive/html/tinycc-devel/2007-02/msg00041.html

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

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()
{
 atexit(finish);
 printf("Hello World\n");
 return 0;
}

Does someone have any idea?

Thanks for any help,

--
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]