jbondc / maru

Automatically exported from code.google.com/p/maru
0 stars 0 forks source link

Build fails on Mac OSX 10.6.8 #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?
A successful make run, but instead I see linker errors.

What version of the product are you using? On what operating system?
Mac OSX 10.6.8

$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-97.17
llvm version 2.9svn, from Apple Clang 1.7 (build 77)

Please provide any additional information below.

The output of make is here: http://pastebin.com/NYufR6Ev

Original issue reported on code.google.com by justin.d...@gmail.com on 17 Nov 2011 at 8:17

Attachments:

GoogleCodeExporter commented 8 years ago
I had the same problem and just figured it out after looking at kurts68's fork. 
You need to edit emit.l and put an X in the definition for __MACH__ and remove 
the X from the definition for __LINUX__.

Original comment by howard.a...@gmail.com on 24 Nov 2011 at 6:24