Advertisement
Guest User

Untitled

a guest
Aug 6th, 2014
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. sb2-init - initialize a target root for scratchbox2
  2. Usage:
  3. sb2-init [OPTION]... [TARGETNAME] [COMPILER[:SPECS]] [SECONDARY_COMPILER...]
  4.  
  5. sb2-init is expected to be run in the directory you want
  6. to use as scratchbox 2 target root.
  7.  
  8. TARGETNAME is what you want to call this target
  9. COMPILER is of the form /home/gabriel/arm-2006q3/bin/arm-linux-gcc
  10. SPECS is path to the compiler scpecs file.
  11. If more than one compiler is specified, the additional compilers
  12. are available by version number (e.g. if the primary is known as
  13. "gcc" and "gcc-4.1", the secondary may be "gcc-3.4", etc)
  14.  
  15.  
  16. Options:
  17. -c "command" specify cpu transparency command, for example:
  18. "qemu-arm", "sbrsh" or "qemu-arm -m 512"
  19. -p "command" specify cpu transparency command for staticly linked
  20. native binaries
  21. -r [hostname] generate sbrsh config using remote device address
  22. -l [hostname] NFS server/localhost address seen by remote device
  23. -d set target as default scratchbox2 target
  24. -m [mapping_mode] use mapping_mode as default
  25. -h print this help
  26. -n don't build libtool for the target
  27. -N don't generate localization files for the target
  28. -s skip checks for target root's /usr/include etc.
  29. -t [tools_dir] set directory containing the build tools distribution
  30. -C "options" add extra options for the compiler, for example:
  31. "-fgnu89-inline"
  32. -L "options" add extra options for the linker, for example:
  33. "--sysroot=/"
  34. -A arch manually override target architecture
  35. -M arch manually override machine name (see uname(2)). This
  36. defaults to the target architecture (see option -A)
  37. -v display version
  38.  
  39. Examples:
  40. sb2-init -c qemu-arm ARM arm-linux-gcc
  41. sb2-init -c qemu-arm -m devel ARM arm-linux-gcc
  42. sb2-init -sn -c sbrsh armel-debian /path/to/arm-linux-gcc:/path/to/gcc-specs
  43.  
  44. Already initialized targets:
  45.  
  46. Target nemo-n950:
  47. configured at 2014-08-06_15:59:40 by user 'gabriel', with command
  48. ( cd /srv/mer/targets/n950rootfs;
  49. sb2-init -L --sysroot=/ -d -C --sysroot=/ -c /usr/bin/qemu-arm-dynamic -m sdk-build -n -N -t / nemo-n950 /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement