Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-02 Thread KHMan
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

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-02 Thread grischka
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

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-02 Thread Mike
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

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-01 Thread 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))

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-01 Thread KHMan
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

[Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-01-31 Thread Mike
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

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-01-31 Thread KHMan
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$