Changes between Version 6 and Version 7 of CompilingMapGuide22Ubuntu910
- Timestamp:
- 07/26/10 11:42:29 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilingMapGuide22Ubuntu910
v6 v7 1 1 = Build Instruction on Ubuntu 10.04 = 2 2 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.''''' 4 4 5 5 == Build Environment Setup == … … 10 10 Compilation is more successful if Ubuntu is set up with GCC 4.1. 11 11 12 === Set up Ubuntu 10.04 to use GCC 4.1 === 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 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): 14 2. install the following packages (list may not be complete): 16 15 * gcc-4.1 17 16 * g++-4.1 … … 25 24 apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev 26 25 }}} 27 26 3. Export CC, CPP, and CXX to use GCC 4.1: 28 27 {{{ 29 28 export CC=gcc-4.1 … … 33 32 34 33 However, 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'''''