On Mon, 21 Oct 2013, Matwey V. Kornilov wrote:
2013/10/21 Richard Biener
: Note that I ripped out the non-suse-glibc target support during hackweek as it was unused (I mainly wanted to consolidate the various .spec.in files we have - now down to two). So you have to hack this back in in a clean way.
What way is clean enough? Would it be better to try to specify KERNEL-OS part of the triplet directly? If we introduce %define gcc_target_os then we are able to clearly implement different behaviors for different OS-es (glibc, uClibs, newlib, none) in gcc.spec.in
Have a %define for the desired libc (you have to adjust the BuildRequires after all).
And I would not say that AVR is unused, look at popular Ardurino project for instance.
Unused in the GCC package, AVR support was moved to a separate package
at some point in time.
Richard.
--
Richard Biener