10 More Discussions You Might Find Interesting
1. AIX
Hi, I need to look at a recent copy of /usr/include/errno.h from AIX 7.2 to check some symbols. In particular, I'm curious if it defines EOWNERDEAD and ENOTRECOVERABLE. Can someone who has access to 7.2 please check for me? Thanks! (1 Reply)
Discussion started by: topcat
1 Replies
2. Shell Programming and Scripting
When i try to vi a file, see some extra characters "l^H^@^@^@^@^F^@"...but when i cat the same file i am not seeing this...How do i remove this??? (4 Replies)
Discussion started by: problemchild
4 Replies
3. UNIX for Dummies Questions & Answers
I noticed that sometimes there is "~#" or "~$" in the terminal. What is that? I can't make any research in google because I don't know what are they called. I even tried reading pdf's or books but unfortunately, I wasn't lucky to find out. Maybe I was not persistent enough but I am really... (3 Replies)
Discussion started by: chams
3 Replies
4. Programming
Greetings,
I am slowly learning a few things but am far from being an expert. I am at the point now that I
would like to be able write some ANSI C code on HP-UX 10.2. Just a hobbie... I am just using cc,
which came with the HP-UX 10.2 ...
I don't have the manuals for the development... (7 Replies)
Discussion started by: Dirk_
7 Replies
5. Shell Programming and Scripting
Can anyone please tell me what the following do
1. <
2. <<
Thanks
Calypso (1 Reply)
Discussion started by: Calypso
1 Replies
6. Shell Programming and Scripting
Hi my file is suffering from some weird text symbols like a question mark inside of a square. I don't know how to remove these. I tried to remove UTF accents with command
sed -e 's/^*Width:*//' -e 's/*$//'`
but no use
. Could u guyz plz help me. (4 Replies)
Discussion started by: repinementer
4 Replies
7. AIX
Hello experts ,
i have some strange problem,
i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do
nm -Bo sample.so ,
i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies
8. Shell Programming and Scripting
Hi,
Any one of you guys can you help me out to filter all "," (single comma) from the below attached contents in a file.
sportiva:root:/home/users/thayata/test # cat sample2.csv
Heading,Sub Heading,,Detail
Server details,Deployment environment:,,Standard Datacentre DC1
,Chassis... (2 Replies)
Discussion started by: ajilesh
2 Replies
9. Shell Programming and Scripting
Hi,
Can someone please clarify how we are able to use both IO and GLOB symbols of a package variable interchangeably?
Please consider the following code:
open(FH,"myfile") || die "Unable to open file myfile:$@";
my $glob_var = *main::FH{GLOB};
my $io_var = *main::FH{IO};
print $glob_var... (0 Replies)
Discussion started by: srinivasan_85
0 Replies
10. HP-UX
Whats the unix command to identify the symbols in the shared library.
I want to find the symbol "nnftboot" is in the library libnnz10.so.
Can any one help on this. (1 Reply)
Discussion started by: senthil_is
1 Replies
klcc(1) H. Peter Anvin klcc(1)
NAME
klcc - compile a program against klibc
SYNOPSIS
klcc [gcc options] [-o outfile] infile...
DESCRIPTION
klcc is a wrapper around gcc(1) and ld(1) which compiles and links a program against the klibc tiny C library. It supports most gcc
options.
Unlike gcc, klcc compiles with optimization on by default. Furthermore, the optimization level used depends on whether or not -g is speci-
fied, since klcc frequently uses options in the normal case which makes debugging impossible. Therefore, compile without -g, -O, -f or -m
option to use the default optimization level; this will generally result in the smallest binaries. You may want to use -s when linking,
however. Use -O0 to compile without any optimization whatsoever; this may not work depending on the version of gcc used.
-nostdinc
allows to turn off klibc include files.
Use the -shared or -static option to compile for and link against shared or static klibc. Note that shared klibc only supports running
against the exact same klibc binary as the binary was linked with.
In addition to standard gcc options, klcc supports options of the form -print-klibc-option, which prints the corresponding klibc configura-
tion option.
AUTHOR
Written by H. Peter Anvin <hpa@zytor.com>.
COPYRIGHT
Copyright (C) 2005 H. Peter Anvin - All Rights Reserved
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER-
CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SEE ALSO
gcc(1)
klibc 1 March 2005 klcc(1)