mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
![Charles Lowell](/assets/img/avatar_default.png)
move v8 src to google dir moving v8 source into main extension move google upstream source dir into v8 ext dir include v8 library in generated bundle prep for 0.4.7 roll the upstream build into the main extension build Documentation was confusing the gem packager. simplify build instructions with bundled v8. Only install scons and build v8 if it has not been built already. Missing CVS.py from the scons library due to ignore patterns. Don't need libv8 anymore, only python 2.5 which is required to build it.
18 lines
746 B
Bash
Executable file
18 lines
746 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This script is a wrapper for OS X nm(1) tool. nm(1) perform C++ function
|
|
# names demangling, so we're piping its output to c++filt(1) tool which does it.
|
|
# But c++filt(1) comes with XCode (as a part of GNU binutils), so it doesn't
|
|
# guaranteed to exist on a system.
|
|
#
|
|
# An alternative approach is to perform demangling in tick processor, but
|
|
# for GNU C++ ABI this is a complex process (see cp-demangle.c sources), and
|
|
# can't be done partially, because term boundaries are plain text symbols, such
|
|
# as 'N', 'E', so one can't just do a search through a function name, it really
|
|
# needs to be parsed, which requires a lot of knowledge to be coded in.
|
|
|
|
if [ "`which c++filt`" == "" ]; then
|
|
nm "$@"
|
|
else
|
|
nm "$@" | c++filt -p -i
|
|
fi
|