#29: Fix build system for cross-compiling linuxboot
-----------------------+----------------------------------------------------
 Reporter:  parasytic  |       Owner:     
     Type:  defect     |      Status:  new
 Priority:  major      |   Milestone:  4.9
Component:  bootdisk   |     Version:  4.8
 Keywords:             |  
-----------------------+----------------------------------------------------
 I originally reported this on unattended-devel mailing list.  I think I
 finally have the patch in a usable state.

 The problem, when building on an x86_64 host, linuxboot will fail at glibc
 for various reasons.  Mostly because the build arguments are incorrect for
 cross-compiling.  My build environment:

 $ uname -a
 Linux cn212570 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC
 2010 x86_64 GNU/Linux


 Ubuntu provides GCC and G++ with capabilities to compile 32-bit code if
 you install the necessary packages. (Just for reference, an incomplete
 list follows...)

 $ apt-get install build-essential gcc-multilib g++-multilib ia32-libs
 lib32z1-dev libsndfile1-dev

 libsndfile1-dev is required for dosemu, and their configure script does
 not check for it. :(


 The patch adds the -m32 flag to the CC and CXX variables, and updates the
 command line arguments to allow spaces within those vars.  It also makes
 various changes to some configure scripts.  Notably glibc and libusb.

 More info is available on the list:
 
https://sourceforge.net/mailarchive/forum.php?thread_name=4BF58D7C.7020201%40campnavajo.com&forum_name
 =unattended-devel

-- 
Ticket URL: <http://sourceforge.net/apps/trac/unattended/ticket/29>
Unattended <https://apps.sourceforge.net/trac/unattended/>
This is a system for fully automating the installation of Windows 2000 
Professional and Server, Windows XP, and Windows Server 2003.
------------------------------------------------------------------------------

_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to