|
From: | grischka |
Subject: | Re: [Tinycc-devel] Bug: segfault when running empty file on tcc-0.9.26-win64 |
Date: | Wed, 05 Jul 2017 20:00:29 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
André Willik Valenti wrote:
Didn't work for me.
Indeed, the 0926 64bit tcc seems to have more than "some problems". However I found that using the 32bit version works well. With the tcc-0.9.26-win32-bin.zip from savannah extracted into the source tree into win32\0926-32: $ build-tcc.bat -c "0926-32\tcc.exe -w" -i tcc1 -t 32 $ build-tcc.bat -c tcc1\tcc -i tcc2 -t 32 $ build-tcc.bat -c "tcc2\tcc -m64" -i tcc3 -t 64 produces a native 64bit tcc installation in tcc3. For a native 32bit tcc, last line may be replaced by $ build-tcc.bat -c "tcc2\tcc -m32" -i tcc3 -t 32 -- gr
You can use build-tcc.bat with gcc, msvc or tcc itself. Type $ build-tcc.bat ? to get some info. For example if you have the 0.9.26 tcc binaries in win32\0926: $ build-tcc.bat -c "0926\tcc.exe -w" -i tcc1 $ build-tcc.bat -c tcc1\tcc.exe -i tcc2 $ build-tcc.bat -c tcc2\tcc.exe -i tcc3 will produce a state-of-the-art self-compiled tcc installation in tcc3. The 3 stages are needed because 0926 has some problems. -- gr
[Prev in Thread] | Current Thread | [Next in Thread] |