Issue 27: Cross compilation of monotone requires several fixes to the build scripts/make

Reported by Unknown User, Aug 14, 2005

(This entry was imported from the savannah tracker, original 

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 should work 
anywhere (cross or native).

monotone version:
0.22 (from source tarball)

Comment 1 by Unknown User, Aug 14, 2005

added attachment txt2c-cross.patch

Comment 2 by Unknown User, Aug 14, 2005

added attachment

Comment 3 by Unknown User, Aug 15, 2005

I've applied the 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, 

Created: 18 years 3 months ago by Unknown User

Updated: 18 years 3 months ago

Status: New

Type:Code Cleanup

Quick Links:    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status