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

Submitted by:  John Bowler <jbowler>
Submitted on:  Sun 14 Aug 2005 04:31:57 PM UTC  
 
Category: portabilitySeverity: 3 - Normal
Item Group: code cleanupStatus: None
Privacy: PublicAssigned 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 14 Aug 2005 04:34:44 PM UTCjbowlerAttached File-=>Added configure.ac.patch, #2812
Sun 14 Aug 2005 04:31:57 PM UTCjbowlerAttached File-=>Added txt2c-cross.patch, #2811

Back to the top


Powered by Savane 3.1-cleanup1