Chiron
-
Content Count
15 -
Joined
-
Last visited
Reputation Activity
-
-
-
-
Chiron got a reaction from N e s s in [ShowCase] Clang4Win
Hi folks, (I don't know the correct area to post this... Sorry)
Today, i've finished an unusual and free way to compile the Emulator on Windows O.S. As all developers know , the microsoft doesn't care about C support (Stuck on C89...Since they have a broken support to C99 (1999) Standard in most recent versions of MVSC). With batch script (Challenge with weird syntax, but at least run in all windows editions) and one very small version of Clang (18MB in .rar format... can be even less if i remove some files . No install process) arranged by me, i've developed one little script with clang calls which can generate the emulator binaries for windows platform. There's no need to stuck with giant microsoft IDE just for deploy to windows: K.I.S.S... I'm from another community and, unfortunately, the development is no longer active. I like to share things (i don't like this kind of divisions between communities) , so here we go:
(The messages below still in portuguese)
How to compile? Two clicks in .bat file and just wait :
The source code error reports (The script stops if any error is found):
PS: The script will erase all object files created by the process.
The compilation process is very fast (Less than one minute in my dual core machine passing -O2 (still faster even with -O3) -std=c99 -Wall -Wextra -pedantic... and many others) . I don't know if this would be useful for the Hercules Community. If people like the idea, then i'll release it for all in few days (clean that bizarre batch code and create an english version), but this will require some changes: Introducing the right static libraries for GNU Linker and few changes inside the libconfig source. I'm planning generate some binaries for the LLVM Interpreter in *near future* (Yes, JIT feat bitcode format) ..The overall performance will increase massively
Comments and ideas are welcome (Sorry for the bad english)
-
Chiron got a reaction from Dastgir in [ShowCase] Clang4Win
Hi folks, (I don't know the correct area to post this... Sorry)
Today, i've finished an unusual and free way to compile the Emulator on Windows O.S. As all developers know , the microsoft doesn't care about C support (Stuck on C89...Since they have a broken support to C99 (1999) Standard in most recent versions of MVSC). With batch script (Challenge with weird syntax, but at least run in all windows editions) and one very small version of Clang (18MB in .rar format... can be even less if i remove some files . No install process) arranged by me, i've developed one little script with clang calls which can generate the emulator binaries for windows platform. There's no need to stuck with giant microsoft IDE just for deploy to windows: K.I.S.S... I'm from another community and, unfortunately, the development is no longer active. I like to share things (i don't like this kind of divisions between communities) , so here we go:
(The messages below still in portuguese)
How to compile? Two clicks in .bat file and just wait :
The source code error reports (The script stops if any error is found):
PS: The script will erase all object files created by the process.
The compilation process is very fast (Less than one minute in my dual core machine passing -O2 (still faster even with -O3) -std=c99 -Wall -Wextra -pedantic... and many others) . I don't know if this would be useful for the Hercules Community. If people like the idea, then i'll release it for all in few days (clean that bizarre batch code and create an english version), but this will require some changes: Introducing the right static libraries for GNU Linker and few changes inside the libconfig source. I'm planning generate some binaries for the LLVM Interpreter in *near future* (Yes, JIT feat bitcode format) ..The overall performance will increase massively
Comments and ideas are welcome (Sorry for the bad english)
-