# Makefiles

**URL:** <https://discourse.glfw.org/t/makefiles/315>\
**Category:** support\
**Created:** [September 24, 2004, 10:01pm UTC](https://discourse.glfw.org/t/makefiles/315 "2004-09-24T22:01:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 24, 2004, 10:01pm UTC](https://discourse.glfw.org/t/makefiles/315/1 "2004-09-24T22:01:31Z")

</div>

**nobody** wrote on [Friday, September 24, 2004](https://sourceforge.net/p/glfw/discussion/247562/thread/3763156e/#faff):

i’m trying to make libraries for mingw but cannot succeed. is it that hard. what must i do. i write:

compile C:\programs\DevC\bin\make.exe mgw

on C:\Temp\x\> (where i extracted glfw 2.4.1)

and i get this error message.

gcc -c -I. -I… -Wall -Os -o enable.o …\\enable.c  
gcc: installation problem, cannot exec `cc1’: No such file or directory  
C:\programs\DevC\bin\make.exe: \*\*\* [enable.o] Error 1  
gcc -I…/include -Wall -O3 -ffast-math -mwindows triangle.c -L…/lib/win32 -lglf  
w -lglu32 -lopengl32 -s -o triangle.exe  
gcc: installation problem, cannot exec `cc1’: No such file or directory  
C:\programs\DevC\bin\make.exe: \*\*\* [triangle.exe] Error 1

what’s the problem??  
i’m new to this makefiles.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 24, 2004, 10:13pm UTC](https://discourse.glfw.org/t/makefiles/315/2 "2004-09-24T22:13:46Z")

</div>

**nobody** wrote on [Friday, September 24, 2004](https://sourceforge.net/p/glfw/discussion/247562/thread/3763156e/#faff/ff14):

ok  
a set PATH=%PATH%;C:\programs\DevC\bin  
handled it. sorry for that :))).
