bugmonotone - 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: 

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.

Nathaniel Smith <njs>
Project Member
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>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #3351:  configure.ac.patch added by jbowler (1020B - text/x-diff)
file #3350:  txt2c-cross.patch added by jbowler (482B - text/x-diff - Patch (not very good) for txt2cc compilation)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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.




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-14 jbowler Attached File- Added configure.ac.patch, #2812
2005-08-14 jbowler Attached File- Added txt2c-cross.patch, #2811

Back to the top

Powered by Savane 3.9