# Build for Intel Mac

**URL:** <https://discourse.glfw.org/t/build-for-intel-mac/372>\
**Category:** support\
**Created:** [April 1, 2006, 2:05am UTC](https://discourse.glfw.org/t/build-for-intel-mac/372 "2006-04-01T02:05:21Z")\
**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:** [April 1, 2006, 2:05am UTC](https://discourse.glfw.org/t/build-for-intel-mac/372/1 "2006-04-01T02:05:21Z")

</div>

**nobody** wrote on [Saturday, April 01, 2006](https://sourceforge.net/p/glfw/discussion/247562/thread/96930fff/#cec5):

Hi,

Does anyone know what mods I need to make to the makefile to get GLFW to build on an Intel mac? Using make macosx-gcc generates these errors:

make[1]: Nothing to be done for `default’.  
/bin/sh [MakeBundle.sh](http://MakeBundle.sh) Triangle  
gcc -I…/include triangle.c -L…/lib/macosx/ -lglfw -framework AGL -framework OpenGL -framework Carbon -o Triangle.app/Contents/MacOS/Triangle  
/usr/bin/ld: warning …/lib/macosx//libglfw.a archive’s cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (can’t load from it)  
/usr/bin/ld: Undefined symbols:  
\_glfwEnable  
\_glfwGetKey  
\_glfwGetMousePos  
\_glfwGetTime  
\_glfwGetWindowParam  
\_glfwGetWindowSize  
\_glfwInit  
\_glfwOpenWindow  
\_glfwSetWindowTitle  
\_glfwSwapBuffers  
\_glfwSwapInterval  
\_glfwTerminate  
collect2: ld returned 1 exit status  
make[1]: \*\*\* [Triangle.app/Contents/MacOS/GLFWApplication] Error 1  
make: \*\*\* [macosx-gcc] Error 2

---

<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:** [April 5, 2006, 6:18pm UTC](https://discourse.glfw.org/t/build-for-intel-mac/372/2 "2006-04-05T18:18:47Z")

</div>

**nobody** wrote on [Wednesday, April 05, 2006](https://sourceforge.net/p/glfw/discussion/247562/thread/96930fff/#cec5/8953):

On a fresh download of the package, I ran make macosx-gcc and it worked fine

Did you copy the tree from another system where it had already been built?
