Mailinglist Archive: opensuse-bugs (4258 mails)

< Previous Next >
[Bug 1022404] cross-avr-gcc6 cannot compile
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 30 Jan 2017 12:41:09 +0000
  • Message-id: <bug-1022404-21960-xzRJWAGbHj@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1022404
http://bugzilla.suse.com/show_bug.cgi?id=1022404#c3

--- Comment #3 from Michal Suchanek <msuchanek@xxxxxxxx> ---
yes, regarding the avr-libc missing from factory that can be fixed trivially by
importing it from other project.

However, gcc refuses to build a libgcc because there is no way to specify where
the target headers and libraries should be built.

avr-libc moved from /usr/avr to /opt/cross/avr due to FHS. The exact directory
is irrelevant. Wherever it is it has libraries in ${target_prefix}/lib and
includes in ${target_prefix}/include. There is an --with-sysroot configure
option that tells gcc to look (and build) target headers and libraries in a
prefix but it insists on using {sysroot}/usr/lib and ${sysroot}/usr/include.
There is option --with-native-headers-prefix or somesuch which can change that
for headers but none for libraries.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >