Skip to content

Instantly share code, notes, and snippets.

@muojp
Created November 6, 2012 01:01
Show Gist options
  • Save muojp/4021738 to your computer and use it in GitHub Desktop.
Save muojp/4021738 to your computer and use it in GitHub Desktop.
binary format difference between Mono 3.0.0 bundled version of libgdiplus and my build
$ gobjdump -p /Library/Frameworks/Mono.framework/Versions/3.0.0_stable/lib/libgdiplus.dylib | head
/Library/Frameworks/Mono.framework/Versions/3.0.0_stable/lib/libgdiplus.dylib: ファイル形式 mach-o-i386
Mach-O header:
magic : feedface
cputype : 00000007 (i386)
cpusubtype: 00000003
filetype : 00000006 (dylib)
ncmds : 0000001c (28)
sizeofcmds: 00000b38
flags : 00100085 (noundefs+dyldlink+twolevel+no_reexported_dylibs)
$ gobjdump -p /usr/local/lib/libgdiplus.dylib | head
BFD: unable to read unknown load command 0x2a
BFD: unable to read unknown load command 0x29
BFD: unable to read unknown load command 0x2b
/usr/local/lib/libgdiplus.dylib: ファイル形式 mach-o-x86-64
Mach-O header:
magic : feedfacf
cputype : 01000007 (x86_64)
cpusubtype: 00000003
filetype : 00000006 (dylib)
ncmds : 0000001a (26)
sizeofcmds: 000009c0
flags : 00100085 (noundefs+dyldlink+twolevel+no_reexported_dylibs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment