Changes between Version 6 and Version 7 of CompilingMapGuide22Ubuntu910


Ignore:
Timestamp:
07/26/10 11:42:29 (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilingMapGuide22Ubuntu910

    v6 v7  
    11= Build Instruction on Ubuntu 10.04 =
    22
    3 '''Note:  The compilation steps for Ubuntu 10.04 are incomplete.  More work is required.'''
     3'''''  The compilation steps for Ubuntu 10.04 are incomplete.  More work is required.'''''
    44
    55== Build Environment Setup ==
     
    1010Compilation is more successful if Ubuntu is set up with GCC 4.1.
    1111
    12 === Set up Ubuntu 10.04 to use GCC 4.1 ===
     121. Grab [http://golubenco.org/2007/06/14/atomic-operations Tudor Golubenco's atomic.h] replacement header and drop it in /usr/include/asm
    1313
    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):
     142. install the following packages (list may not be complete):
    1615   * gcc-4.1
    1716   * g++-4.1
     
    2524apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev
    2625}}}
    27  3. Export CC, CPP, and CXX to use GCC 4.1:
     263. Export CC, CPP, and CXX to use GCC 4.1:
    2827{{{
    2928export CC=gcc-4.1
     
    3332
    3433However, 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.
     34
     35== Build Process ==
     36
     37'''''work in progress'''''