Hi all,
Rob Landley wrote:
On Friday 01 February 2008 22:23:54 KHMan wrote:
[snip]
Anyway, off to do other things...
Given Rob's style, I'm not going to respond in any big way except
to say that perhaps my slight aversion to spoon-feeding is
apparently not in style. Well, I wish to say that
From: Rob Landley:
... I managed to learn enough to get mingw installed under wine, so
I have a windows native development environment I can use to build
win32 binaries under an emulator, and can thus now test the tinycc
win32 output and win32 host modes over in my version.
TCC in win32
Thanks very much for finding the mistake. Also thanks for pointing out
the -v option for gcc. I tried debugging which didn't work with gdb,
cause it wouldn't run the first line in main().
I will try to make my questions more appropriate to this list.
KHMan wrote:
Hi all,
Rob Landley
On Thursday 31 January 2008 21:23:49 KHMan wrote:
Mike wrote:
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))
Rob Landley wrote:
On Thursday 31 January 2008 21:23:49 KHMan wrote:
Mike wrote:
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
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
Mike wrote:
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$