[asterisk-bugs] [Zaptel 0008055]: [patch] cross-compiling issues

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 12:03:46 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8055 
====================================================================== 
Reported By:                tzafrir
Assigned To:                russell
====================================================================== 
Project:                    Zaptel
Issue ID:                   8055
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Zaptel Version:             1.4.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             09-29-2006 14:59 CDT
Last Modified:              06-07-2008 12:03 CDT
====================================================================== 
Summary:                    [patch] cross-compiling issues
Description: 
The build system of Zaptel is rather broken with respect to
cross-compiling.

autoconf has some useful infrastructure to handle cross-compiling, but its
output is being blantly ignored.

The branch zaptel/team/tzafrir/makefile has some initial work in that
direction. But I only handled non-external program: menuselect and the
Ocastic API are not in the Zaptel tree.

On a side note: all the tiny C makefw programs could be rewritten in perl
and thus eliminate one requirement for a HOSTCC. 

The patch: 

svn diff -r1480:1482
http://svn.digium.com/svn/zaptel/team/tzafrir/makefile

http://svn.digium.com/view/zaptel?view=rev&rev=1481
http://svn.digium.com/view/zaptel?view=rev&rev=1482
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 12:03  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 1548

_U  trunk/
U   trunk/Makefile
U   trunk/configure
U   trunk/configure.ac
U   trunk/makeopts.in
U   trunk/wct4xxp/Makefile
U   trunk/xpp/utils/Makefile

------------------------------------------------------------------------
r1548 | russell | 2008-06-07 12:03:43 -0500 (Sat, 07 Jun 2008) | 11 lines

Merged revisions 1547 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

........
r1547 | russell | 2006-11-01 14:04:02 -0500 (Wed, 01 Nov 2006) | 3 lines

instead of setting HOSTCC and CC directly in the Makefile, use the
information
provided by the configure script (issue http://bugs.digium.com/view.php?id=8055,
tzafrir)

........

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=1548 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 12:03  svnbot         Checkin                                      
06-07-08 12:03  svnbot         Note Added: 0088186                          
======================================================================




More information about the asterisk-bugs mailing list