[MacRuby-devel] [MacRuby] #729: rbconfig.rb does not honor ARCH_FLAG
MacRuby
ruby-noreply at macosforge.org
Mon May 24 17:44:36 PDT 2010
#729: rbconfig.rb does not honor ARCH_FLAG
------------------------------+---------------------------------------------
Reporter: joelr1@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------+---------------------------------------------
Comment(by martinlagardette@…):
You can actually use RC_ARCHS to do this:
{{{
$> RC_ARCHS="x86_64" rake jobs=2 optz_level=0
(in /Users/naixn/Documents/Projets/MacRuby)
Getting archs from RC_ARCHS!
/usr/bin/bison -o y.tab.c parse.y
parse.y: conflicts: 1 shift/reduce
/usr/bin/sed -f ./tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c >
parse.c.new
mv parse.c.new parse.c
rm -f parse.o
cp lex.c.blt lex.c
/usr/bin/ruby -n tool/node_name.rb include/ruby/node.h > node_name.inc
echo '' > kernel_data.c
/Developer/usr/bin/llvm-gcc -arch x86_64 -fexceptions -I. -I./include
-I/usr/include/libxml2 -I./icu-1060 --emit-llvm -c kernel.c -o kernel-
x86_64.bc
/usr/local/bin/opt -O3 kernel-x86_64.bc -o=kernel-x86_64.bc
/bin/dd if=/dev/zero count=1 bs=1 conv=notrunc >> kernel-x86_64.bc
2>/dev/null
/usr/bin/xxd -i kernel-x86_64.bc >> kernel_data.c
/bin/rm kernel-x86_64.bc
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch x86_64 -fno-
common -pipe -g -Wall -fexceptions -O0 -Wno-deprecated-declarations
-Werror -std=c99 -I./icu-1060 -c array.c -o array.o
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch x86_64 -fno-
common -pipe -g -Wall -fexceptions -O0 -Wno-deprecated-declarations
-Werror -std=c99 -I./icu-1060 -c bignum.c -o bignum.o
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch x86_64 -fno-
common -pipe -g -Wall -fexceptions -O0 -Wno-deprecated-declarations
-Werror -std=c99 -I./icu-1060 -c class.c -o class.o
/usr/bin/gcc-4.2 -I. -I./include -I/usr/include/libxml2 -arch x86_64 -fno-
common -pipe -g -Wall -fexceptions -O0 -Wno-deprecated-declarations
-Werror -std=c99 -I./icu-1060 -c compar.c -o compar.o
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/729#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list