monotone - Bugs: bug #14123, Cross compilation of monotone...
You are not allowed to post comments on this tracker with your current authentication level.
bug #14123: Cross compilation of monotone requires several fixes to the build scripts/make
Submitter: | John Bowler <jbowler> | ||
Submitted: | Sun 14 Aug 2005 04:31:57 PM UTC | ||
Category: | portability | Severity: | 3 - Normal |
Item Group: | code cleanup | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | ||
mtn version --full: | 0.22 (from source tarball) |
Mon 15 Aug 2005 04:02:43 AM UTC, comment #1: |
Nathaniel Smith <njs>![]() |
Sun 14 Aug 2005 04:31:57 PM UTC, original submission:
txt2c needs to be build with the build system compiler, not the target compiler, the attached patch txt2c-cross.patch fixes the problem in the OpenEmbedded build environment but probably won't work anywhere else (it might do if BUILD_CXX is defaulted to CXX).
The boost version checking simply doesn't work - AC_TRY_RUN fails in a cross compiler environment, however AC_TRY_COMPILE works fine in this context. The attached file configure.ac.patch should work anywhere (cross or native).
|
John Bowler <jbowler> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
I've applied the configure.ac patch; as you say, the txt2c patch breaks compilation on everything except OpenEmbedded, which isn't so good :-). Happy to apply a patch that didn't have this problem, though.