mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
45 lines
1010 B
INI
45 lines
1010 B
INI
#
|
|
# GCC 4.7 Version 1.
|
|
#
|
|
# This configuration file configure's, make's and install's gcc. It uses
|
|
# newlib, MPFR, MPC, and GMP in a one-tree build configuration.
|
|
#
|
|
|
|
#
|
|
# Select Snapshot Macro Maps
|
|
#
|
|
%select gcc-snapshot
|
|
%select newlib-snapshot
|
|
%select mpfr-snapshot
|
|
%select mpc-snapshot
|
|
%select gmp-snapshot
|
|
|
|
#
|
|
# Source
|
|
#
|
|
#
|
|
# GCC core and G++
|
|
#
|
|
%ifn %{defined Source0}
|
|
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
|
|
VersionContro0: git clone git://gcc.gnu.org/git/gcc.git
|
|
%endif
|
|
|
|
#
|
|
# Newlib
|
|
#
|
|
Source10: ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
|
|
VersionControl10: cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co newlib
|
|
|
|
#
|
|
# Packages GCC requires
|
|
#
|
|
Source20: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
|
|
Source21: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
|
|
Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
|
|
|
|
#
|
|
# GCC Common build script.
|
|
#
|
|
%include %{_configdir}/gcc-common-1.cfg
|