C-Chads / tinycc

C-Chads Maintained fork of Tiny C Compiler, regularly pulled from https://repo.or.cz/w/tinycc.git
GNU Lesser General Public License v2.1
77 stars 8 forks source link

Windows build issues #3

Open rontrek opened 1 year ago

rontrek commented 1 year ago

so running the build-tcc.bat under win32 produces the below error, but still builds and the version is still 0.9.27 (tcc -v).

Changelog says it should be 0.9.28?

fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>

C:\tcc\tinycc-mob\win32>echo #define TCC_VERSION "0.9.27" 1>..\config.h

C:\tcc\tinycc-mob\win32>echo #ifdef TCC_TARGET_X86_64 1>>..\config.h

C:\tcc\tinycc-mob\win32>echo #define TCC_LIBTCC1 "libtcc1-64.a" 1>>..\config.h

C:\tcc\tinycc-mob\win32>echo #else 1>>..\config.h

C:\tcc\tinycc-mob\win32>echo #define TCC_LIBTCC1 "libtcc1-32.a" 1>>..\config.h

C:\tcc\tinycc-mob\win32>echo #endif 1>>..\config.h
rontrek commented 1 year ago

I'm using tdm-gcc, but I have git installed as well.

rontrek commented 1 year ago

Are you using bloodshed? Very oldskool if true.

just to build tools. https://jmeubank.github.io/tdm-gcc/

I would recommend using Msys2 if possible, though. You get a reasonably good posix environment out of it.

I used to before.. is there a lighter version?

I'm guessing your installation of git is... nonstandard.

portable git. (not the portableapps)