On Thu, 28 Jan 2016, Tom Horsley wrote:

In fedora 23, there are cross compilers available in the repos.
For example:

gcc-aarch64-linux-gnu.i686 : Cross-build binary utilities for aarch64-linux-gnu
gcc-c++-aarch64-linux-gnu.i686 : Cross-build binary utilities for
                              : aarch64-linux-gnu
binutils-aarch64-linux-gnu.i686 : Cross-build binary utilities for
                               : aarch64-linux-gnu

But, there are no cross libraries apparently. Is there some
standard way people get libraries for cross development?

My guess is no.
Shared libraries are probably the reason.
The assumption would be that since shared libraries
are only used while the program is running,
there is no need for them on a machine that cannot run your code.
Given your post,
I suspect that this deprives the linker of necessary information.

Static libraries do not seem to even be an option anymore:
gcc -march=native -o libtest libtest.c -static -lm
cannot find -lm
Without -static, links just fine.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to