gcc installation to BlueQuartz 5100R / FC1 Ref. Kit
Aug,23 2004.
Yutaka Yasuda, Cobalt Users Group.
(yasuda@cobaltqube.org)
|
 |
Abstract
Current reference kit which is based on Fedora Core 1 has no development tools.
This document shows a installation procedure of gcc.
|
 |
Getting RPM files
RPM files for Fedora Core 1 are on;
http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/
You can get each RPM files individually or you also be able to get whole disk image as iso files from;
http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/iso/
In the style of Fedora Core 1, the names of install disks as "yarrow-i386-disc1.iso" or some, source disks are distributed as "yarrow-SRPMS-disc1.iso" or some.
Install disks includes RPM files and source disks includes SPRM files.
It is better to download each files from mirror sites rather than the original site directly.
http://fedora.redhat.com/download/mirrors.html
To pick RPM files up from ISO image file, just burn it on CD-R then mount it on your FC1 box.
But it is also available to mount ISO image file directly using loop device function of Linux as follows;
# mount -t iso9660 -o loop yarrow-SRPMS-disc1.iso /mnt
|
|
 |
Installation
Following RPM files needs to install gcc.
(disk 1)
cpp-3.3.2-1.i386.rpm
(disk 2)
gcc-3.3.2-1.i386.rpm
binutils-2.14.90.0.6-3.i386.rpm
glibc-devel-2.3.2-101.i386.rpm
glibc-headers-2.3.2-101.i386.rpm
glibc-kernheaders-2.4-8.36.i386.rpm
(disk 3)
gcc32-3.2.3-6.i386.rpm
After you got RPM files, you use them by "rpm -i" command as follows;
# rpm -ihv gcc-3.3.2-1.i386.rpm binutils-2.14.90.0.6-3.i386.rpm \
cpp-3.3.2-1.i386.rpm glibc-devel-2.3.2-101.i386.rpm \
glibc-headers-2.3.2-101.i386.rpm gcc32-3.2.3-6.i386.rpm \
glibc-kernheaders-2.4-8.36.i386.rpm
(Above example folds a long command line by "\" character.)
You have done, gcc had been installed.
|
 |
Remarks
Always you install something by RPM system, it will check the dependency automatically.
When you try to install gcc, you may see the following error message as the result of the dependency check;
kernel-headers is needed by glibc-headers-2.3.2-101
kernel-headers >= 2.2.1 is needed by glibc-headers-2.3.2-101
It means you need to get kernel-headers-** RPM file but there is no such file, in ISO files and on the Net too.
As a substitude for kernel-headers, glibc-kernheaders ia available.
I guess this is the standard way of FC1. (Probably Redhat 9 is too.)
![[BACK]](/common_images/left.gif)
|