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	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||

Discussion:
{{{
Thu 22 Jun 2006 06:56:43 AM UTC, comment #3:

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.
	Pavel Tsekov <ptsekov>
Project Administrator
Thu 22 Jun 2006 06:16:38 AM UTC, comment #2:

I would, but I have no clue about the auto* stuff. Sorry.
	Rolf Offermanns <roffermanns>
Wed 21 Jun 2006 05:37:31 PM UTC, comment #1:

Please provide a patch. Thanks.
	Leonard den Ottolander <leonardjo>
Project Member
Wed 19 Apr 2006 01:23:19 PM UTC, 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. 
}}}
"	defect	new	major		mc-core								
