Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Program permission (to install etc) Post 302138904 by rdns on Wednesday 3rd of October 2007 06:46:59 PM
Old 10-03-2007
hurm... i thougt it is gcc permission
the user cant even query the gcc version
Quote:
$ gcc --version
gcc: Permission denied
$
and i noticed this in gcc folder
Quote:
-rwxr-x--- 2 root compiler 187176 Apr 20 20:54 /usr/bin/gcc
how do i enable gcc permisson for them?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to know what program is install on Unix server?

I would like to know how to check what program is install on the Unix system? like the add/remove inside the control panel can show what program installed. (4 Replies)
Discussion started by: zp523444
4 Replies

2. Shell Programming and Scripting

start a program with other user's permission

I have some of programs in unix system which are to started with one_user say "xxxx". I have sudo permission if i start these programs with sudo it shows root permission. But i want these programs permession should be "xxxx". I tried "su user_name -c Program_name" but it is not... (3 Replies)
Discussion started by: srikanthus2002
3 Replies

3. Programming

how I know owner of file and its permission through c program

Helo I havea particular file. how I know ownerof the file as well as file permission using c program. Regards, Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies

4. UNIX for Dummies Questions & Answers

permission to install software

Hello everyone, I want to install a software on an external hard disk. I used Fedora core 6 whose default shell is bash. As user I have changed to sh shell because in order to install I have to use the sh shell. I had changed permission on all the files using sh-3.1$ chmod +x... (6 Replies)
Discussion started by: sitij109
6 Replies

5. UNIX for Dummies Questions & Answers

Unable to run program, Permission denied

Hi All, I am working on Solaris Sparc 9 and I developed application and in that I want to open any file when any action is happened but when I am trying to do the same.I am getting the error -- "Error launching /test.txt", "", "Process.execAndWait", "java.io.IOException: Cannot run... (0 Replies)
Discussion started by: smartgupta
0 Replies

6. UNIX for Advanced & Expert Users

Install gcc with 750 permission

Hi All, I need gcc with permission 750, while installation itself. or how can i change the permission without using chmod command. My requirement is User and Group only use the gcc. since i am having ldap users. Thanks in advance. (1 Reply)
Discussion started by: rajamohan
1 Replies

7. AIX

Cannot compile/install gnu program on AIX

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (0 Replies)
Discussion started by: bazajav
0 Replies

8. UNIX and Linux Applications

Cannot compile/install gnu program

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (4 Replies)
Discussion started by: bazajav
4 Replies

9. UNIX for Dummies Questions & Answers

Running program from local install?

Dear forum, This is my first post here, nice to meet you all. My question might be a beginner one, also it might have been answered before (I searched but found nothing). I am a new Unix user. I am using a terminal to connect to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-48-generic x86_64);... (10 Replies)
Discussion started by: athina
10 Replies

10. Solaris

Install some Linux program on Solaris

Hi I have a problem with install some Linux program on Solaris. I use Ubuntu on everyday. At my university My professor wants from me to install some program from Linux on Solaris. I try with many files, but all not run. I can't deal with it. Do you know how install .deb files on Solaris? Hmm... (3 Replies)
Discussion started by: Tsuisou
3 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)
All times are GMT -4. The time now is 06:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy