Changes between Version 2 and Version 3 of CompilingMapGuide22Ubuntu910


Ignore:
Timestamp:
Feb 3, 2010, 12:47:06 PM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilingMapGuide22Ubuntu910

    v2 v3  
    55== Build Machine Setup ==
    66
     7
    78Ubuntu 9.1 uses GCC 4.4 as its native compiler.  !MapGuide 2.2 does not compile cleanly against GCC 4.4.  Further work will be required to support native GCC 4.4 compilation.
    89
    9 Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1 by grabbing additional packages
     10Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1.
     11
     12Grab [http://golubenco.org/2007/06/14/atomic-operations Tudor Golubenco's atomic.h] replacement header and drop it in /usr/include/asm.  Then install the following packages (list may not be complete):
    1013{{{
    1114apt-get install gcc-4.1 g++-4.1 autoconf automake automake1.7 libtool bison
    1215apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev
    1316}}}
    14 and exporting CC, CPP, and CXX as follows:
     17Export CC, CPP, and CXX to use GCC 4.1:
    1518{{{
    1619export CC=gcc-4.1
     
    1922}}}
    2023
    21 However, there is at least one Oem build script which hardcodes CC, CPP, and CXX.  Additional work is required.
     24However, there is at least one Oem build script which hardcodes CC, CPP, and CXX.  The build will fail here so additional script cleanup will be required.