On Fri, 19 Dec 2003, Ingvar Marny wrote:
Hi All! Could anyone please help me to gain an understanding on subject. The situation is as follows: I built from the sources GCC 3.2.3, 3.3.2, 2.95.2 and 2.95.3 with GPC (I tried versions of GPC 20020510 and 20030830). As it is written in documentation, to make program work on ARM without MMU, it's necessary to use compiler switch -mno-got (ot mno-gotplt) but this option is available only for CRIS architecture, not for ARM. AFAIK the sequence of steps to build some Pascal program for ARM without MMU is (at least, I acted in this way):
- configure GCC sources together with GPC with switches
--enable-languages=all --target=arm-elf 2. build the whole toolchain 3. build target program for ARM (using option -mno-gotplt (or -mno-got))
try using option -mcpu=arm7tdmi
this from R M Stallman "Using and Porting GNU CC" page 69. however, there may be something else I overlooked. Russ