Skip to content

v1.2 Addition Release

Pre-release
Pre-release
Compare
Choose a tag to compare
@tilkinsc tilkinsc released this 07 May 00:56
· 290 commits to master since this release

Adds a few things to the console.

  • missed a few EXIT_FAILURE/EXIT_SUCCESS when using exit()
  • added full support of luaw.exe (with window) versus lua.exe (without)
  • removed invalid project files
  • text cleanup
  • use luaw.exe when you want a window and stdout/stderr to the console
  • use lua.exe when you don't want a window and stdout/stderr to maybe a redirect

Below is compiled on windows using gcc.exe from mingw32 without using MSYS. On an amd computer.

Compiled with:

@echo off

rem Debug version

rem Compile everything debug
gcc -Wall -Wextra -O0 -g3 -c *.c

rem Link lua_debug.exe
gcc -Wall -Wextra -O0 -g3 -mwindows -o lua_debug.exe console.o additions.o -llua

rem Link luaw_debug.exe
gcc -Wall -Wextra -O0 -g3 -o luaw_debug.exe consolew.o additions.o -llua


rem Release version

rem Compile everything release
gcc -Wall -Wextra -O2 -g0 -c *.c

rem Link luaw.exe
gcc -Wall -Wextra -O2 -g0 -mwindows -o lua.exe console.o additions.o -llua

rem Link lua.exe
gcc -Wall -Wextra -O2 -g0 -o luaw.exe consolew.o additions.o -llua