[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] TCC built using NOSTDLIB crashes on linux
From: |
Mike |
Subject: |
[Tinycc-devel] TCC built using NOSTDLIB crashes on linux |
Date: |
Thu, 31 Jan 2008 17:58:23 -0500 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
I was trying to compile TCC using the -nostdlib option.
(Here's my command (which works))
bash$ gcc -nostdlib -o tcc tcc.c /usr/lib/crt1.o /usr/lib/crti.o -ldl
-lc -lgcc
bash$
(Here's my result (which is a crash))
bash$ ./tcc qwert
Segmentation fault (core dumped)
bash$
Do you get this same error? What's the cause?
(My system specs are Ubuntu 7.10, gcc 4.1.3)
- [Tinycc-devel] TCC built using NOSTDLIB crashes on linux,
Mike <=