mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
bare: Add support for building gcc-4.9.1 and newlib-2.1.0.
This commit is contained in:
parent
712ef18988
commit
2eb764e389
22
bare/config/devel/binutils-2.24-1.cfg
Normal file
22
bare/config/devel/binutils-2.24-1.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Binutils 2.24.
|
||||
#
|
||||
|
||||
%include %{_configdir}/bare-config.cfg
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define binutils_version 2.24
|
||||
|
||||
#
|
||||
# Enable deterministic archives by default. This will be the default
|
||||
# there all tools using this binutils will create deterministic
|
||||
# archives.
|
||||
#
|
||||
%define with_deterministic_archives 1
|
||||
|
||||
#
|
||||
# The binutils build instructions. We use 2.xx Release 1.
|
||||
#
|
||||
%include %{_configdir}/binutils-2-1.cfg
|
36
bare/config/devel/gcc-4.9-newlib-cvs-1.cfg
Normal file
36
bare/config/devel/gcc-4.9-newlib-cvs-1.cfg
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# GCC 4.9.x., Newlib CVS.
|
||||
#
|
||||
|
||||
%ifn %{defined gcc_version}
|
||||
%error No GCC version defined.
|
||||
%endif
|
||||
|
||||
%ifn %{defined newlib_version}
|
||||
%error No Newlib version defined.
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
%include %{_configdir}/versions.cfg
|
||||
|
||||
%define mpfr_version 3.0.1
|
||||
%define mpc_version 0.8.2
|
||||
%define gmp_version 5.0.5
|
||||
|
||||
%define with_threads 1
|
||||
%define with_plugin 0
|
||||
|
||||
%ifn %{defined with_iconv}
|
||||
%define with_iconv 1
|
||||
%endif
|
||||
|
||||
#
|
||||
# Newlib is from CVS.
|
||||
#
|
||||
%source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset
|
||||
|
||||
#
|
||||
# The gcc/newlib build instructions. We use 4.9 Release 1.
|
||||
#
|
||||
%include %{_configdir}/gcc-4.9-1.cfg
|
25
bare/config/devel/gcc-4.9.1-newlib-2.1.0-1.cfg
Normal file
25
bare/config/devel/gcc-4.9.1-newlib-2.1.0-1.cfg
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# GCC 4.9.1., Newlib 2.1.0
|
||||
#
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
%include %{_configdir}/versions.cfg
|
||||
|
||||
%define gcc_version 4.9.1
|
||||
%define newlib_version 2.1.0
|
||||
%define mpfr_version 3.0.1
|
||||
%define mpc_version 0.8.2
|
||||
%define gmp_version 5.0.5
|
||||
|
||||
%define with_threads 0
|
||||
%define with_plugin 0
|
||||
|
||||
%ifn %{defined with_iconv}
|
||||
%define with_iconv 1
|
||||
%endif
|
||||
|
||||
#
|
||||
# The gcc/newlib build instructions. We use 4.9 Release 1.
|
||||
#
|
||||
%include %{_configdir}/gcc-4.9-1.cfg
|
25
bare/config/lang/gcc491.bset
Normal file
25
bare/config/lang/gcc491.bset
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# GNU Tools Set
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
package: gcc491-%{_target}-%{release}
|
||||
|
||||
#
|
||||
# Project custom message
|
||||
#
|
||||
%define gcc_version_message RSB-%{_sbgit_id}-%{release},gcc-%{gcc_version}/newlib-%{newlib_version}
|
||||
|
||||
#
|
||||
# Enable G++
|
||||
#
|
||||
%define enable_cxx 1
|
||||
|
||||
#
|
||||
# Tool configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
devel/binutils-2.24-1
|
||||
devel/gcc-4.9.1-newlib-2.1.0-1
|
||||
devel/gdb-7.7-1
|
Loading…
x
Reference in New Issue
Block a user