[Bug 296] Compile Error on FreeBSD PowerPC64
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Tue Aug 28 23:50:16 UTC 2018
https://bugzilla.gdcproject.org/show_bug.cgi?id=296
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Curtis from comment #4)
> Thanks for the tip. I made the below changes to the patch to get things to
> work.
>
> @@ -3089,6 +3089,7 @@
> if [ "$target_has_targetcm" = "no" ]; then
> c_target_objs="$c_target_objs default-c.o"
> cxx_target_objs="$cxx_target_objs default-c.o"
> + d_target_objs="$d_target_objs default-d.o"
> fi
>
> if [ "$common_out_file" = "" ]; then
> @@ -4586,6 +4587,7 @@
> out_file=rs6000/rs6000.c
> c_target_objs="${c_target_objs} rs6000-c.o"
> cxx_target_objs="${cxx_target_objs} rs6000-c.o"
> + d_target_objs="${d_target_objs} rs6000-d.o"
> tmake_file="rs6000/t-rs6000 ${tmake_file}"
> ;;
>
>
> However, the library sources no longer compile like they did under GCC/GDC
> 5. Correct me if I'm wrong. But it seems these sources are based on DMD2, as
> the earlier code was LDC based.
They've only ever been merged from dlang/druntime.
Someone else got in touch, and I think what you are referring to is the lack of
any defined platform versions, this is expected, as FreeBSD is an untested
port.
There needs to be a new target source created, and fill in the appropriate
target hooks.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the D.gnu
mailing list