|
From: | 王晓哲 |
Subject: | [Tinycc-devel] little truble with TCC |
Date: | Sun, 9 May 2004 01:25:52 +0800 |
Hi,
I'm using TCC under Linux. Everything goes
well, but I can't get the "-run" option to work. Even the most
simple program like this:
/* test.c */
#include <stdio.h>
int main()
{
printf("Hi\n");
}
The result is:
~$ tcc test.c -o test
~$ ./test Hi ~$ tcc -run test.c Segmentation fault ~$ I built this compiler using the source codes from the main
site. The version is "0.9.20". About my system:
~$ uname -s -r -p
Linux 2.4.22-1.2166.nptl i686 ~$ gcc --version gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ~$
|
[Prev in Thread] | Current Thread | [Next in Thread] |