[Bug go/46986] Go is not supported on Darwin
afb at users dot sourceforge.net
gcc-bugzilla@gcc.gnu.org
Fri Sep 2 09:07:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
--- Comment #11 from Anders F Björklund <afb at users dot sourceforge.net> 2011-09-02 09:06:25 UTC ---
> OTOOL=${OTOOL:-otool}
> $OTOOL -s __GNU_GO __go_export $1 |
> grep -v "^$1:" | grep -v "Contents of (__GNU_GO,__go_export) section" |
> cut -f 2- | tr -d ' ' | xxd -r -p - $2
Apparently -X avoids that header text:
$OTOOL -s __GNU_GO __go_export -X $1 | cut -f 2- | tr -d ' ' | xxd -r -p - $2
More information about the Gcc-bugs
mailing list