[MacRuby-devel] LLVM version snafu, PPC workaround

Rich Morin rdm at cfcl.com
Thu Jun 4 17:27:18 PDT 2009


In today's build of the experimental branch (revision 1719), I
got the following nastygram:

  /usr/bin/g++ -I/usr/local/include  -D_DEBUG  -D_GNU_SOURCE
    -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3
    -fno-common -Woverloaded-virtual -I. -I./include -g -Wall
    -arch ppc -arch i386 -Wno-parentheses
    -Wno-deprecated-declarations -Werror -c vm.cpp -o vm.o
  vm.cpp: In constructor 'RoxorVM::RoxorVM()':
  vm.cpp:210: error: 'CodeGenOpt' has not been declared
  vm.cpp:210: error: 'None' was not declared in this scope
  vm.cpp: In constructor 'RoxorVM::RoxorVM()':
  vm.cpp:210: error: 'CodeGenOpt' has not been declared
  vm.cpp:210: error: 'None' was not declared in this scope
  lipo: can't figure out the architecture type of:
    /var/tmp//ccrdSEKd.out
  rake aborted!
  Command failed with status (1):
    [/usr/bin/g++ -I/usr/local/include  -D_DEBU...]
 ...

Laurent informed me that I needed to update my copy of LLVM, as
discussed in the MacRuby README file.  In order to do this on a
PowerPC, I had to modify the commands slightly:

  ... UNIVERSAL_ARCH="ppc i386" ...

-r
-- 
http://www.cfcl.com/rdm            Rich Morin
http://www.cfcl.com/rdm/resume     rdm at cfcl.com
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development


More information about the MacRuby-devel mailing list