]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Add minimal C++ support
authorEvgeny Karpov <evgeny.karpov@microsoft.com>
Wed, 14 Aug 2024 06:34:30 +0000 (08:34 +0200)
committerEvgeny Karpov <eukarpov@gmail.com>
Tue, 19 Nov 2024 13:27:33 +0000 (14:27 +0100)
The patch resolves compilation issues for the C++ language. Previous
patch series contributed to C++ as well, however, C++ could not be
tested until we got a C++ compiler and could build at least a "Hello
World" C++ program, and in reality, more than that.

Another issue has been fixed in the libstdc++ patch.
https://gcc.gnu.org/pipermail/libstdc++/2024-September/059472.html

gcc/ChangeLog:

* config.gcc: Add missing dependencies.

gcc/config.gcc

index 9b616bd6e1f899c9198480305ef8dcf0d40724e1..c2081748745782e99410dfc24175538bf1e917da 100644 (file)
@@ -1291,6 +1291,7 @@ aarch64-*-mingw*)
        extra_options="${extra_options} mingw/cygming.opt mingw/mingw.opt"
        extra_objs="${extra_objs} winnt.o winnt-dll.o"
        c_target_objs="${c_target_objs} msformat-c.o"
+       cxx_target_objs="${cxx_target_objs} msformat-c.o"
        d_target_objs="${d_target_objs} winnt-d.o"
        tmake_file="${tmake_file} mingw/t-cygming"
        case ${enable_threads} in