Ticket #45 (new defect) — at Initial Version

Opened 16 years ago

Last modified 11 years ago

savannah: Build system does not allow cross compiling

Reported by: slavazanko Owned by:
Priority: major Milestone: 4.7.3
Component: mc-core Version: master
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description

Original: http://savannah.gnu.org/bugs/?16383

Submitted by:Rolf Offermanns <roffermanns>Submitted on:Wed 19 Apr 2006 01:23:19 PM UTC
Category:NoneSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:4.6.1Operating 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. 
Note: See TracTickets for help on using tickets.