tcc: fix -m32/64 & simplify

This cleans up the mess from commit
   8f98573658
and preceeding.

- make tcc -m64 work on windows
- execvp on windows returns 0 always, replace by spawnvp
- remove bizarre support for i386-win32-tcc -m64
This commit is contained in:
grischka
2011-08-06 16:08:33 +02:00
parent 5e5e29f8fd
commit 39a07cca58
2 changed files with 53 additions and 75 deletions

1
tcc.h
View File

@ -44,7 +44,6 @@
#ifdef _WIN32
#include <windows.h>
#include <process.h>
#include <sys/timeb.h>
#include <io.h> /* open, close etc. */
#include <direct.h> /* getcwd */