DEV Community

Audi Nugraha
Audi Nugraha

Posted on

DevEnv Setup

Download and extract TCC.

http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27-win64-bin.zip
Enter fullscreen mode Exit fullscreen mode

Download and extract TCC Winapi.

http://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip
Enter fullscreen mode Exit fullscreen mode

Download and extract MinGW.

https://github.com/brechtsanders/winlibs_mingw/releases/download/13.2.0mcf-11.0.1-ucrt-r3/winlibs-x86_64-mcf-seh-gcc-13.2.0-mingw-w64ucrt-11.0.1-r3.7z
Enter fullscreen mode Exit fullscreen mode

Copy wglext.h from MinGW to TCC.

Generate required TCC defs.

tcc -impdef user32.dll -o lib\user32.def
tcc -impdef gdi32.dll -o lib\gdi32.def
tcc -impdef opengl32.dll -o lib\opengl32.def
tcc -impdef glu32.dll -o lib\glu32.def
Enter fullscreen mode Exit fullscreen mode

Create run script.

@echo off
%dp~0tcc -run -luser32 -lgdi32 -lopengl32 -lglu32 %*
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay