Re: Cross compilers, but not libraries?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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   hennebry@xxxxxxxxxxxxxxxxxxxxx
"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@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux