just a shot in the dark. your not useing solaris are you? if so by default it does not come with a compiler. reguardless i would look into gcc. it is the GNU version of cc. also after you log in type
this will display your default path.
Hi All,
I am trying to install the IBM data set generator. I have to use the Solaris to use this tool. The following link is supposed to tell the steps on how to use the IBM tool on the Solaris server.
IBM Quest Market-Basket Synthetic Data Generator
Unfortunately, I don't understand what is... (2 Replies)
Hi:
I have a requirement as below:
I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l).
When any user logs on and types... (2 Replies)
Hello;
I work now with a team which has based her "applications" on the following schema:
1 NFS client C1 (linux redhat 5) writes a file fic.dat on a NFS SERVER S (RH 5)
Another NFS client C2 is waiting for the same file fic.dat (on NFS server S1), and, when "fic.dat" appears, then makes... (8 Replies)
I wrote by accident:
cd .
and even hit ENTER.
Then I realized this is probably the most useless command that you can imagine. Yes, perhaps it could assert that there is still a working filesystem, but I am not sure about it.
What do you think?
Can you think of any more useless commands? :) (6 Replies)
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
LEARN ABOUT DEBIAN
sb2-init
sb2-init(1) sb2-init man page sb2-init(1)NAME
sb2-init - initialize a target for scratchbox2
SYNOPSIS
sb2-init [OPTION]... [TARGETNAME] [COMPILER[:SPECS]] [SECONDARY_COMPILER...]
DESCRIPTION
sb2-init initializes a target for scratchbox2. If no options or other parameters are given, already initialized targets are listed.
A scratchbox2 target is simply a light-weight, symbolic name for a configuration set. A target does not contain anything that is active,
like running processes; hence a user never "works inside a target". Instead, sessions are used for all active operations. Sessions are
created by the sb2 command.
sb2-init is expected to be run in the directory you want to use as the target root filesystem.
TARGETNAME is the name of the target to initialize. If it refers to an existing target, then the target is re-initialized. Otherwise a new
one is created.
COMPILER is full path to a cross-compiler (gcc), of the form $HOME/arm-2006q3/bin/arm-linux-gcc. An optional SPECS parameter is path to
the compiler specs file.
If more than one compiler is specified, additional compilers are available by version number (e.g. if the primary is known as "gcc" and
"gcc-4.1", the secondary may be "gcc-3.4", etc)
Note that the compiler is usually used during the target creation process to determine CPU architecture of the target system.
OPTIONS -c "command"
specify cpu transparency command, for example: "qemu-arm", "sbrsh" or "qemu-arm -R 256M". CPU transparency method is the program
which is used to execute foreign binaries, that the host computer can not execute directly.
-p "command"
specify cpu transparency command for staticly linked native binaries.
-r [hostname]
generate sbrsh config using remote device address
-l [hostname]
NFS server/localhost address seen by remote device
-d set target as default scratchbox2 target (default target can also be set later with the sb2-config command)
-m [mapping_mode]
use mapping_mode as default. Default for this is "simple"
-h Print help.
-n don't build libtool for the target
-N don't generate localization files for the target
-s skip checks for target root's /usr/include etc.
-t [tools_dir]
set directory containing the build tools distribution
-C "options"
add extra options for the compiler, for example: -C "-fgnu89-inline"
-A arch
manually override target architecture
-M arch
manually override machine name (see uname(2)). This defaults to the target architecture (see option -A)
-v display version
EXAMPLES
mkdir $HOME/buildroot
cd $HOME/buildroot
[fetch a rootfs from somewhere and extract it here]
sb2-init -c qemu-arm TARGET /path/to/cross-compiler/bin/arm-linux-gcc
FILES
$HOME/.scratchbox2/*
SEE ALSO sb2(1), sb2-config(1), qemu(1)BUGS
No known bugs at this time.
AUTHORS
Lauri T. Aarnio
2.2 17 December 2010 sb2-init(1)