Changes between Version 5 and Version 6 of CompilingMapGuide22Ubuntu910


Ignore:
Timestamp:
Jul 26, 2010, 11:17:28 AM (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilingMapGuide22Ubuntu910

    v5 v6  
    66
    77
    8 Ubuntu 10.04 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.
     8Ubuntu 10.04 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. 
    99
    10 Compilation is more successful if Ubuntu 10.04 is set up to use GCC 4.1.
     10Compilation is more successful if Ubuntu is set up with GCC 4.1.
    1111
    12 1. Grab [http://golubenco.org/2007/06/14/atomic-operations Tudor Golubenco's atomic.h] replacement header and drop it in /usr/include/asm. 
    13 2. install the following packages (list may not be complete):
     12=== Set up Ubuntu 10.04 to use GCC 4.1 ===
     13
     14 1. Grab [http://golubenco.org/2007/06/14/atomic-operations Tudor Golubenco's atomic.h] replacement header and drop it in /usr/include/asm.
     15 2. install the following packages (list may not be complete):
    1416   * gcc-4.1
    1517   * g++-4.1
     
    2325apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev
    2426}}}
    25 Export CC, CPP, and CXX to use GCC 4.1:
     27 3. Export CC, CPP, and CXX to use GCC 4.1:
    2628{{{
    2729export CC=gcc-4.1