bugzilla-daemon at bugzilla.mindrot.org
2012-Apr-02 10:17 UTC
[Bug 1996] New: pkg-config tweaks for cross-compiling
https://bugzilla.mindrot.org/show_bug.cgi?id=1996 Bug #: 1996 Summary: pkg-config tweaks for cross-compiling Classification: Unclassified Product: Portable OpenSSH Version: 5.9p1 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Build system AssignedTo: unassigned-bugs at mindrot.org ReportedBy: cjwatson at debian.org Created attachment 2142 --> https://bugzilla.mindrot.org/attachment.cgi?id=2142 Allow using a cross-architecture pkg-config When cross-compiling OpenSSH, it's useful to be able to use a cross pkg-config which is configured to return information for the architecture you're building for rather than the architecture you're building on. The standard convention for this is to call it HOST-pkg-config, e.g. "arm-linux-gnueabi-pkg-config", just as is normally done for cross-compilers. This implies that configure.ac should use AC_PATH_TOOL rather than AC_PATH_PROG. (Compare with pkg.m4 shipped by pkg-config itself, which uses AC_PATH_TOOL.) contrib/Makefile has a similar issue, but this file isn't generated by autoconf. Perhaps it should be, but in the meantime a simple non-intrusive change is to make pkg-config a variable so that it can be overridden by the caller. With these two changes, I've been able to cross-compile the Debian openssh package from x86-64 to ARM. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Apr-04 01:42 UTC
[Bug 1996] pkg-config tweaks for cross-compiling
https://bugzilla.mindrot.org/show_bug.cgi?id=1996 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Blocks| |1986 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-May-19 05:25 UTC
[Bug 1996] pkg-config tweaks for cross-compiling
https://bugzilla.mindrot.org/show_bug.cgi?id=1996 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at zip.com.au Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2012-05-19 15:25:38 EST --- applied, thanks. it will be in the next release. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Maybe Matching Threads
- [Bug 1996] pkg-config tweaks for cross-compiling
- [Bug 1060] ~/.ssh/config check too strict on systems with per-user groups
- [PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
- [PATCH] configure: Look for dpkg* only in /usr/bin, /bin
- [PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.