id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
45	savannah: Build system does not allow cross compiling	roffermanns	slavazanko	"Original: http://savannah.gnu.org/bugs/?16383

||Submitted by:||Rolf Offermanns <roffermanns>||Submitted on:||Wed 19 Apr 2006 01:23:19 PM UTC||
||Category:||None||Severity:||3 - Normal||
||Status:||None||Privacy:||Public||
||Assigned to:||None||Open/Closed:||Open||
||Release:||4.6.1||Operating System:||GNU/Linux||

Original submission:
{{{
The man2hlp program is build using the target compiler. The 
resulting executable therefore does not work on the build host. 
Since the man2hlp program is needed during compile time, the build 
will fail.
The auto* stuff must be changed to include a CC_FOR_BUILD macro 
which must be used for the man2hlp (and any other used-at-
compile-time) application. 
}}}

Comment 1 by Leonard den Ottolander <leonardjo> at Wed 21 Jun 2006 05:37:31 PM UTC:
{{{
Please provide a patch. Thanks.
}}}

Comment 2 by Rolf Offermanns <roffermanns> at Thu 22 Jun 2006 06:16:38 AM UTC:
{{{
I would, but I have no clue about the auto* stuff. Sorry.
}}}

Comment 3 by Pavel Tsekov <ptsekov> at Thu 22 Jun 2006 06:56:43 AM UTC:
{{{
The major problem here is that man2hlp relies on glib. This 
complicates the task of making it build in cross environment. One 
way to fix this is to drop the glib dependency - there are tree or 
four functions which need to be replaced. When I have time I'll do 
this if noone beats me to it. I have already made some changes to 
the auto stuff so that MC will build properly in cross environment
but whithout changing man2hlp they are of no use.
}}}
"	defect	closed	major	4.7.3	mc-core	master	fixed		zaytsev			merged	committed-master committed-stable
