06-09-2002
Help me! I just start to learn C in Unix
Hi! I just start to learn C in Unix. I have several questions.
1. What is the different between ¡®gcc¡¯ and ¡®cc¡¯?
2. Assume I type ¡®gcc -o print.out print.c¡¯ and get an error. So I need to retype that sentence. Do I have to repeat the whole thing? Or Is there a shortcut?
3. I completed to compile, but I don¡¯t know how to execute. I know my Hostname, but I don¡¯t know my web address yet.
4. Is there a command to tell me the size of my account?
Thank you.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
What is the best way to start learning PERL? Are there any "learn-it-yourself" websites? Beginner books? etc...
Thanks,
Barbara (3 Replies)
Discussion started by: blt123
3 Replies
2. SCO
:confused: Hello everybody,
i am totally new to unix, i want to learn unix. i have a server with pIII, 256 mb RAM, two SCSI disk w/o RAID controller.and one IDE CD-ROM Drive.
i heard SCO installs on intel platform. what steps should i take for installing SCO on this machine? can anybody help me... (1 Reply)
Discussion started by: tataiermail
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am a new joinee.i want to know completely about unix.could you give me some links or soft copies so that i can be good at subject.
thank you. (5 Replies)
Discussion started by: mohanp
5 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
I would like to learn unix but first i need to start to load unix OS into my computer but i dont know where to start or get the CD to load...help appreciated...thanks (2 Replies)
Discussion started by: rxsonny
2 Replies
5. UNIX for Dummies Questions & Answers
Hey everybody, I am a 25 year old web programmer in Malaysia. I am not hapy with my line of work and I want to do something more. I know asp.net,asp,php and jsp.But they dont really land me in a good promising job wich I realy love.
I am more interested in Oracle DBMS. now to be a DBA in Oracle... (7 Replies)
Discussion started by: shounak
7 Replies
6. What is on Your Mind?
hello all my name is chris. i have no schooling in computers and i am looking to learn as much as i can befor spending any money on something i do not evern know if i would like. i see computers everwhere i go. i work for Garda.
i am asking for help in learning all i can about computers and i... (8 Replies)
Discussion started by: petes21in2002
8 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am the ultimate noob when it comes to UNIX. Apart from a few basic thing like ls -l and mkdir (and that really is about as good as it gets) I know absolutely nothing about UNIX and I want to learn it and get better!
I'm sure like with most things, just getting stuck in and trying... (3 Replies)
Discussion started by: thebdj
3 Replies
8. Fedora
First question is how do you learn UNIX on a home lab. I understand that HP-UX isn't free and neither is SCO Unix and they don't run on x86 based systems anyways. The choices I believe are going to be OpenSolaris and FreeBSD. My question is UNIX commands the same across the board so if I learn... (11 Replies)
Discussion started by: michael78
11 Replies
9. Shell Programming and Scripting
My PM has told me to learn shell scrting in 2 weeks , how should I start?:confused::confused::confused::confused: (1 Reply)
Discussion started by: manalisharmabe
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)