01-24-2013
Installing the C compiler
Hello Unixians,
I downloaded an ISO image of RHEL 6 from the web using a torrent and am trying to install it in my windows pc (dual boot). I was able to complete the installation. I now want to connect my USB hard drive. As you all know, its NTFS formatted and I had to install an NTFS package. I hit an error that there are no c compilers in the path. Now i tried to install the GCC (GNU C compiler) but the installation failed with and error "Nothing to do". Is there any work around for this or should I register with Red Hat? Thank you all for your time.
Regards,
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I just got Ultra 5 computer an installed Solaris 8 on it. I'm trying to install Apache but I'm having some problems...
I tried to download a precompiled version of apache, but it seems as if I need a c compiler anyway.
When I try to run the configure command I get the following result:... (2 Replies)
Discussion started by: alfabetman
2 Replies
2. Programming
What can I do if my unix didn't come with cc or gcc. there must be a place to get those programs.
Just not where i can find them:confused: (3 Replies)
Discussion started by: hector
3 Replies
3. Programming
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message
"types.c: In function `main':
> types.c:4: warning: return type of `main' is not `int'
> ld: fatal: file values-Xa.o: open failed: No such file or directory
>... (5 Replies)
Discussion started by: hassan2
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
5. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
6. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
7. Ubuntu
Hi
I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation.
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
8. Red Hat
While i try to install the gcc cross compiler using following commands in fedora 6
commands
cd /etc/yum.repos.d/
# wget http://fedora-arm.wantstofly.org/cross/cross.repo
# yum install armv5tel-redhat-linux-gnueabi-gcc
i got an error
# cd yum.repos.d
# wget... (3 Replies)
Discussion started by: sujith4u87
3 Replies
9. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
LEARN ABOUT OPENSOLARIS
patchmedia
patchmedia(1M) System Administration Commands patchmedia(1M)
NAME
patchmedia - modify Solaris media with patches and packages
SYNOPSIS
/usr/bin/patchmedia -d media-root [-v] [-o iso] [-l label]
pkg_or_patch [pkg_or_patch ...]
DESCRIPTION
The patchmedia utility takes a list of patches and packages as input and updates the install miniroot in media-root (the root directory of
an on-disk image of a Solaris installation media) to include the specified patches and packages. These patches and packages are also placed
in a subdirectory called DU under the Solaris install image. For example:
media-root/Solaris_10/DU
When booting a system from the updated media, the patches and packages will be part of the booted Solaris image. They will also be applied
to the target system being installed at the end of the installation process.
If -o is specified, a bootable ISO image is created in the file media.iso that contains the Solaris install media. The ISO image can then
be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (The latter is not a SunOS man page.)
OPTIONS
The following options are supported:
-d media-root
Top-level directory of on-disk image of Solaris installation media. This is option must be specified.
-o iso
Create a Solaris ISO image of media-root.
-l label
Label/volume name of the ISO image (if -o option is specified). If -o is not specified, the name of Solaris directory under media-root,
for example, Solaris_10, will be used.
-v
Verbose. Multiple -v options increase verbosity.
OPERANDS
The following operands are supported:
pkg_or_patch [pkg_or_patch ...]
One or more patches or packages (you can have both patches and packages in a single command) with which the Solaris installation media
media-root will be updated.
EXAMPLES
Example 1 Updating a Solaris Install Image with Patch and Package
The following command updates the Solaris install image in s10u1 by adding patch 123456-07 and package SUNWfoo.
# /usr/bin/patchmedia -d s10u1 SUNWfoo 123456-07
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
cdrw(1), mkcd(1M), attributes(5)
mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page)
SunOS 5.11 29 Jul 2008 patchmedia(1M)