osx - Mono mkbundle on Mac OS X 10.7 -


i'm trying mkbundle tool working on mac os x 10.7. installed xcode 5, handful of different mono versions, going v2 v4. everytime try compile code

sh: as: command not found 

when try find command, not on system either. after googling, pretty hard "as" filtered out being generic, cannot find solution this. best resource can find states native compiler of xcode, have installed...

could assist?

you looking xcode assembler:

> man as

name        - mac os x mach-o gnu-based assemblers  synopsis        [ option ...  ] [ file ...  ]  description        command translates assembly code in named files object code.        if no files specified, reads stdin.  undefined symbols  in        assembly treated global.  output of assembly left in        file a.out default.         program /usr/bin/as driver executes assemblers         specific target architectures.  if no target architecture specified,        defaults architecture of host running on. 

do have xcode and it's cmd line tools installed?

>  /usr/bin/as  > file `which as` /usr/bin/as: mach-o 64-bit executable x86_64 

located in xcode.app:

/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/../libexec/as/x86_64/as 

xcode cmd-line tools:

assuming have installed 'free' xcode package via app store, cmd line tools can installed via "xcode-select". drop term window and:

xcode-select --help

usage: xcode-select [options]  print or change path active developer directory. directory controls tools used xcode command line tools (for example, xcodebuild) bsd development commands (such cc , make).  options:   -h, --help                  print message , exit   -p, --print-path            print path of active developer directory   -s <path>, --switch <path>  set path active developer directory   --install                   open dialog installation of command line developer tools   -v, --version               print xcode-select version   -r, --reset                 reset default command line tools path 

xcode-select --install

once installed, updates via app store


Comments