* alpha/axp 1.0 rpms available from redhat mirrors
@ 1997-12-31 3:08 Trent Jarvi
0 siblings, 0 replies; only message in thread
From: Trent Jarvi @ 1997-12-31 3:08 UTC (permalink / raw)
To: egcs
Well.. Its 90% complete. I tried to be carefull to make sure everything gets
in. I did notice that there is one file thats not getting in and I'm not sure
which package it needs to go it. Check for /usr/local/include/f2c in the %file
section for details.
I dont mind contributing to these things but egcs takes around 2 hours per
try with rpm'ing and I'm thinking this is close enough till someone with
somthing better than a 'p90' can fix this up.
the only patches included beyond 1.0 are the stdc++ pthread patch. posix
threads are disable in the build. If noone picks up maintining the rpms
I'll try to maintain the important releases for axp but at 2 hours per build
dont expect anything special.
I'll put the 1.01 up when I dont see anymore discussion if noone picks this
up. I'm still not sure if hafia enabled bins are a good idea. I trust they
are good on more recent machines so I left it in.
So there you go.. 1.0-4 the latest release of egcs in rpm form. I tossed
i86 and alpha bins up. People with real machines please consider taking
up this task.
SPEC file follows for those with 1.0 and the pthread patch.
%define EGCS_VERSION 1.0
%define SOURCEURL ftp://ftp.cygnus.com/pub/egcs/releases/egcs-1.0/egcs-1.0.tar.gz
# The name of the directory underneath /usr/lib/gcc-lib/[target] that
# this builds for.
%define FULLVER egcs-2.90.21
%define STDC_VERSION 2.8.0
Summary: Experimental GNU Compiler System
Name: egcs
Version: %{EGCS_VERSION}
Release: 4
Copyright: GPL
Group: Development/Languages
Source: %{SOURCEURL}
Patch0: egcs-%{EGCS_VERSION}-stdc++pthread.patch
BuildRoot: /var/tmp/egcs-root
URL: http://www.cygnus.com/egcs/
Requires: binutils >= 2.8.1.0.15
%description
A compiler aimed at integrating all the optimizations and features
necessary for a high-performance and stable development environment.
%package c++
Summary: C++ support for gcc
Group: Development/Languages
Requires: egcs = %{EGCS_VERSION}
%description c++
C++ support for gcc
%package objc
Summary: Objective C support for gcc
Group: Development/Languages
Requires: egcs = %{EGCS_VERSION}
%description objc
Objective C support for gcc
%package g77
Summary: Fortran 77 support for gcc
Group: Development/Languages
Requires: egcs = %{EGCS_VERSION}
%description g77
Fortran 77 support for gcc
%package -n libstdc++
Summary: GNU c++ library
Group: Libraries
Version: %{STDC_VERSION}
%description -n libstdc++
This is the GNU implementation of the standard C++ libraries, along with
additional GNU tools. This package includes the shared libraries
necessary to run C++ applications.
%package -n libstdc++-devel
Summary: Header files and libraries for C++ development
Group: Development/Libraries
Version: %{STDC_VERSION}
Requires: libstdc++ = %{STDC_VERSION}
%description -n libstdc++-devel
This is the GNU implementation of the standard C++ libraries. This
package includes the header files and libraries needed for C++
development.
%changelog
* Tue Dec 29 1997 Trent Jarvi <jarvi@ezlink.com>
- chased down initial glitches preventing alpha-linux from working.
- removed --enable-threads=posix per request of Elliot Lee <sopwith@cuc.edu>
* Mon Dec 08 1997 Christopher Seawood <cls@seawood.org>
- Added install-info to %post{un}
- Added minimum rev for binutils
- Made sure STL headers were installed in /usr/include/g++
- Added --enable-haifa
- Linked libstdc++.so against -lpthread
- Built using recommended separate objdir
* Tue Dec 02 1997 Elliot Lee <sopwith@cuc.edu>
- Took off egcs- prefix for /usr/bin/* files, seeing as this works
well enough to be system compiler.
- Miscellaneous fixups for the release (make it do 'make bootstrap',
etc. etc.)
* Wed Nov 26 1997 Elliot Lee <sopwith@cuc.edu>
- Updated version, split libstdc++ into a separate package, etc.
* Fri Nov 14 1997 Elliot Lee <sopwith@cuc.edu>
- Added dependencies
- Added "egcs-" to prefix all /usr/bin/* files.
%prep
# Notes:
# the nof
%setup -q
%patch -p1
%build
%ifarch i386
%define GCCARCH i386
%endif
%ifarch axp
%define GCCARCH alpha
%endif
# my redhat 5.0 system shows alpha for arch jarvi@ezlink.com
%ifarch alpha
%define GCCARCH alpha
%endif
%ifarch sparc
%define GCCARCH sparc
%endif
%ifarch ppc
%define GCCARCH ppc
%endif
mkdir obj-%{GCCARCH}-linux
cd obj-%{GCCARCH}-linux
#CFLAGS="$RPM_OPT_FLAGS" ../configure --enable-threads=posix \
CFLAGS="$RPM_OPT_FLAGS" ../configure \
--prefix=/usr --enable-shared --enable-haifa %{GCCARCH}-linux
make #bootstrap
%install
if [ "X$RPM_BUILD_ROOT" != "X" ]; then
rm -rf $RPM_BUILD_ROOT
fi
mkdir -p $RPM_BUILD_ROOT/usr/info $RPM_BUILD_ROOT/lib
cd obj-%{GCCARCH}-linux
make prefix=$RPM_BUILD_ROOT/usr install
strip $RPM_BUILD_ROOT/usr/bin/*
gzip -n -9f $RPM_BUILD_ROOT/usr/info/*.info*
ln -sf gcc $RPM_BUILD_ROOT/usr/bin/cc
ln -sf cccp.1 $RPM_BUILD_ROOT/usr/man/man1/cpp.1
ln -sf g77.1 $RPM_BUILD_ROOT/usr/man/man1/f77.1
ln -sf ../usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/cpp $RPM_BUILD_ROOT/lib/cpp
strip \
$RPM_BUILD_ROOT/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/{cc1,cc1obj,cc1plus,cpp,f771,ld}
ln -sf g77 $RPM_BUILD_ROOT/usr/bin/f77
ln -sf libstdc++.so.2.8.0 ${RPM_BUILD_ROOT}/usr/lib/libstdc++.so.2.8
%ifarch ppc
ln -sf libstdc++.so.2.8.0 ${RPM_BUILD_ROOT}/usr/lib/nof/libstdc++.so.2.8
%endif
%clean
if [ "X$RPM_BUILD_ROOT" != "X" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%post
/sbin/install-info --info-dir=/usr/info --section="Programming:" --entry="* gcc:(gcc). The GNU C compiler." /usr/info/gcc.info.gz
/sbin/install-info --info-dir=/usr/info --section="Programming:" --entry="* cpp:(cpp). The C preprocessor." /usr/info/cpp.info.gz
%post g77
/sbin/install-info --info-dir=/usr/info --section="Programming:" --entry="* g77:(g77). The GNU Fortran 77 compiler." /usr/info/g77.info.gz
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete --info-dir=/usr/info /usr/info/gcc.info.gz
/sbin/install-info --delete --info-dir=/usr/info /usr/info/cpp.info.gz
fi
%preun g77
if [ $1 = 0 ]; then
/sbin/install-info --delete --info-dir=/usr/info /usr/info/g77.info.gz
fi
%post -n libstdc++ -p /sbin/ldconfig
%postun -n libstdc++ -p /sbin/ldconfig
%files
%doc README* COPYING COPYING.LIB
%dir /usr/lib/gcc-lib
%dir /usr/lib/gcc-lib/%{GCCARCH}-linux
%dir /usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}
%dir /usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include
/usr/bin/%{GCCARCH}-linux-gcc
/usr/bin/gcc
/usr/bin/cc
/usr/bin/gcov
/usr/bin/protoize
/usr/bin/unprotoize
/lib/cpp
/usr/man/man1/cpp.1
/usr/man/man1/cccp.1
/usr/man/man1/gcc.1
/usr/info/cpp.info*.gz
/usr/info/gcc.info*.gz
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/SYSCALLS.c.X
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/cc1
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/cpp
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/libgcc.a
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/specs
# some archs get these files from libc
# jarvi@ezlink.com
%ifnarch alpha
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/crtbegin.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/crtbeginS.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/crtend.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/crtendS.o
%endif
# well.. they showed up as not being here in my script... easier to remove them
# later jarvi@ezlink.com
%ifarch alpha
/usr/%{GCCARCH}-linux
/usr/lib/libiberty.a
%endif
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/ld
%ifarch ppc
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/nof
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/ecrti.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/ecrtn.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/scrt0.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/scrti.o
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/scrtn.o
%endif
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/README
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/float.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/iso646.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/limits.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/proto.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/stdarg.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/stddef.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/syslimits.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/va-*.h
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/varargs.h
%ifarch ppc
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/%{GCCARCH}-asm.h
%endif
%files c++
/usr/man/man1/g++.1
/usr/bin/g++
/usr/bin/c++
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/cc1plus
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/exception
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/new
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/typeinfo
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/new.h
%ifarch ppc
/usr/lib/nof
%endif
%files objc
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/cc1obj
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/libobjc.a
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/objc
%files g77
/usr/bin/g77
/usr/bin/f77
/usr/info/g77.info*.gz
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/f771
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/libf2c.a
/usr/lib/gcc-lib/%{GCCARCH}-linux/%{FULLVER}/include/f2c.h
/usr/lib/libf2c.a
/usr/man/man1/g77.1
/usr/man/man1/f77.1
# this will probably want to be removed
# I cant figure out why rpm cant find it.
# jarvi@ezlink.com
#%ifarch alpha
#/usr/local/include/f2c.h
#%endif
%files -n libstdc++-devel
/usr/include/g++
/usr/lib/libstdc++.a
/usr/lib/libstdc++.so
%ifarch ppc
/usr/lib/nof/libstdc++.a
/usr/lib/nof/libstdc++.so
%endif
%files -n libstdc++
/usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++.so.2.8.0
%ifarch ppc
/usr/lib/nof/libstdc++.so.2.8
/usr/lib/nof/libstdc++.so.2.8.0
%endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-12-31 3:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-31 3:08 alpha/axp 1.0 rpms available from redhat mirrors Trent Jarvi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).