2014-05-07 21:52:52 +00:00
|
|
|
LICENSE := LGPL
|
2023-05-09 10:09:44 +00:00
|
|
|
VERSION := 12.3.0
|
2014-05-07 21:52:52 +00:00
|
|
|
DOWNLOADS := gcc.archive
|
|
|
|
|
2019-05-17 17:11:33 +00:00
|
|
|
URL(gcc) := ftp://ftp.fu-berlin.de/gnu/gcc/gcc-$(VERSION)/gcc-$(VERSION).tar.xz
|
2023-05-09 10:09:44 +00:00
|
|
|
SHA(gcc) := 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
|
2014-05-07 21:52:52 +00:00
|
|
|
DIR(gcc) := src/lib/stdcxx
|
|
|
|
SIG(gcc) := ${URL(gcc)}
|
|
|
|
KEY(gcc) := GNU
|
|
|
|
|
2017-04-09 19:02:41 +00:00
|
|
|
TAR_OPT(gcc) := gcc-$(VERSION)/libstdc++-v3 \
|
2020-08-13 17:20:59 +00:00
|
|
|
gcc-$(VERSION)/libgcc/gthr.h \
|
|
|
|
gcc-$(VERSION)/libgcc/gthr-posix.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
--strip-components=2
|
2014-05-07 21:52:52 +00:00
|
|
|
|
2017-04-09 19:02:41 +00:00
|
|
|
PATCHES := src/lib/stdcxx/*.patch
|
2015-05-28 11:55:47 +00:00
|
|
|
PATCH_OPT := -p1 -d src/lib/stdcxx
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
DIRS := include/stdcxx
|
|
|
|
DIR_CONTENT(include/stdcxx) := \
|
|
|
|
src/lib/stdcxx/include/* \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/include/c_compatibility/complex.h \
|
|
|
|
src/lib/stdcxx/include/c_compatibility/fenv.h \
|
|
|
|
src/lib/stdcxx/include/c_compatibility/tgmath.h \
|
|
|
|
src/lib/stdcxx/libsupc++/cxxabi.h \
|
2023-04-24 13:44:11 +00:00
|
|
|
src/lib/stdcxx/libsupc++/compare \
|
2014-05-07 21:52:52 +00:00
|
|
|
src/lib/stdcxx/libsupc++/exception \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/libsupc++/initializer_list \
|
|
|
|
src/lib/stdcxx/libsupc++/new \
|
|
|
|
src/lib/stdcxx/libsupc++/typeinfo
|
2014-05-07 21:52:52 +00:00
|
|
|
|
|
|
|
DIRS += include/stdcxx/bits
|
|
|
|
DIR_CONTENT(include/stdcxx/bits) := \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/libsupc++/atomic_lockfree_defines.h \
|
|
|
|
src/lib/stdcxx/libsupc++/cxxabi_forced.h \
|
2019-05-17 17:11:33 +00:00
|
|
|
src/lib/stdcxx/libsupc++/cxxabi_init_exception.h \
|
|
|
|
src/lib/stdcxx/libsupc++/exception.h \
|
2014-05-07 21:52:52 +00:00
|
|
|
src/lib/stdcxx/libsupc++/exception_defines.h \
|
|
|
|
src/lib/stdcxx/libsupc++/exception_ptr.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/libsupc++/hash_bytes.h \
|
2014-05-07 21:52:52 +00:00
|
|
|
src/lib/stdcxx/libsupc++/nested_exception.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/config/cpu/generic/atomic_word.h \
|
2014-05-07 21:52:52 +00:00
|
|
|
src/lib/stdcxx/config/cpu/generic/cpu_defines.h \
|
|
|
|
src/lib/stdcxx/config/cpu/generic/cxxabi_tweaks.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/config/cpu/generic/opt/bits/opt_random.h \
|
2014-05-07 21:52:52 +00:00
|
|
|
src/lib/stdcxx/config/os/generic/ctype_base.h \
|
|
|
|
src/lib/stdcxx/config/os/generic/ctype_inline.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/config/os/generic/error_constants.h \
|
|
|
|
src/lib/stdcxx/config/os/generic/os_defines.h \
|
|
|
|
src/lib/stdcxx/config/locale/generic/messages_members.h \
|
2020-08-13 17:20:59 +00:00
|
|
|
src/lib/stdcxx/config/locale/generic/time_members.h \
|
|
|
|
src/lib/stdcxx/gthr.h
|
2014-05-07 21:52:52 +00:00
|
|
|
|
|
|
|
DIRS += include/stdcxx/config
|
|
|
|
DIR_CONTENT(include/stdcxx/config) := \
|
|
|
|
src/lib/stdcxx/config/allocator/new_allocator_base.h \
|
|
|
|
src/lib/stdcxx/config/io/basic_file_stdio.h \
|
2017-04-09 19:02:41 +00:00
|
|
|
src/lib/stdcxx/config/io/c_io_stdio.h \
|
|
|
|
src/lib/stdcxx/config/locale/generic/c_locale.h
|
|
|
|
|
|
|
|
default: symlinks
|
2014-05-07 21:52:52 +00:00
|
|
|
|
2017-04-09 19:02:41 +00:00
|
|
|
symlinks: $(DOWNLOADS)
|
2020-10-06 16:43:27 +00:00
|
|
|
ln -sf ../../config/io/basic_file_stdio.h src/lib/stdcxx/include/bits/basic_file.h
|
|
|
|
ln -sf ../../config/allocator/new_allocator_base.h src/lib/stdcxx/include/bits/c++allocator.h
|
|
|
|
ln -sf ../../config/io/c_io_stdio.h src/lib/stdcxx/include/bits/c++io.h
|
|
|
|
ln -sf ../../config/locale/generic/c_locale.h src/lib/stdcxx/include/bits/c++locale.h
|
|
|
|
ln -sf ../../config/cpu/generic/opt/ext/opt_random.h src/lib/stdcxx/include/ext/opt_random.h
|
|
|
|
ln -sf ../precompiled/extc++.h src/lib/stdcxx/include/bits/extc++.h
|
|
|
|
ln -sf ../precompiled/stdc++.h src/lib/stdcxx/include/bits/stdc++.h
|
|
|
|
ln -sf ../precompiled/stdtr1c++.h src/lib/stdcxx/include/bits/stdtr1c++.h
|
|
|
|
ln -sf ../../gthr-posix.h src/lib/stdcxx/include/bits/gthr-default.h
|
|
|
|
ln -sf atomicity_builtins/atomicity.h src/lib/stdcxx/config/cpu/generic/atomicity.cc
|
|
|
|
ln -sf collate_members.cc src/lib/stdcxx/config/locale/generic/collate_members_cow.cc
|
|
|
|
ln -sf messages_members.cc src/lib/stdcxx/config/locale/generic/messages_members_cow.cc
|
|
|
|
ln -sf monetary_members.cc src/lib/stdcxx/config/locale/generic/monetary_members_cow.cc
|
|
|
|
ln -sf numeric_members.cc src/lib/stdcxx/config/locale/generic/numeric_members_cow.cc
|