Changes between Version 5 and Version 6 of CompilingMapGuide22Ubuntu910
- Timestamp:
- 07/26/10 11:17:28 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified CompilingMapGuide22Ubuntu910
v5 v6 6 6 7 7 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. 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. 9 9 10 Compilation is more successful if Ubuntu 10.04 is set up to use GCC 4.1.10 Compilation is more successful if Ubuntu is set up with GCC 4.1. 11 11 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): 14 16 * gcc-4.1 15 17 * g++-4.1 … … 23 25 apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev 24 26 }}} 25 Export CC, CPP, and CXX to use GCC 4.1:27 3. Export CC, CPP, and CXX to use GCC 4.1: 26 28 {{{ 27 29 export CC=gcc-4.1