Changeset 9060bd1 in mainline
- Timestamp:
- 2005-09-10T11:20:47Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24241cf
- Parents:
- f3a6c8e5
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/Makefile.inc
rf3a6c8e5 r9060bd1 1 CC=gcc 2 AS=as 3 LD=ld 4 OBJDUMP=objdump 5 OBJCOPY=objcopy 1 ifeq (${CROSS_COMPILER},yes) 2 IA-32_TARGET=i686-pc-linux-gnu 3 4 IA-32_CC_DIR=/usr/local/i686/bin 5 IA-32_BINUTILS_DIR=/usr/local/i686/bin 6 7 CC=$(IA-32_CC_DIR)/$(IA-32_TARGET)-gcc 8 AS=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-as 9 LD=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-ld 10 OBJCOPY=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-objcopy 11 OBJDUMP=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-objdump 12 else 13 CC=gcc 14 AS=as 15 LD=ld 16 OBJCOPY=objcopy 17 OBJDUMP=objdump 18 endif 19 6 20 BFD_NAME=elf32-i386 7 21 BFD_ARCH=i386 8 9 22 10 23 DEFS:=-DARCH=$(ARCH) -DFPU_LAZY … … 18 31 endif 19 32 20 CFLAGS=$(DEFS) -nostdlib -fno-builtin -fomit-frame-pointer -O3 21 LFLAGS=-M -no-check-sections 33 CPPFLAGS=$(DEFS) -nostdinc -I../include 34 CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 35 LFLAGS=-M 22 36 23 37 ../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in 24 $(CC) $(CFLAGS) - C -E -x c $< | grep -v "^\#" > $@38 $(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@ 25 39 26 40 arch_sources= \ -
arch/ia32/_link.ld.in
rf3a6c8e5 r9060bd1 30 30 .mapped (PA2KA(BOOT_OFFSET+BOOTSTRAP_OFFSET)+SIZEOF(.unmapped)): AT (BOOTSTRAP_OFFSET+SIZEOF(.unmapped)) { 31 31 ktext_start = .; 32 *(BOOT_DATA) 32 *(BOOT_DATA); 33 33 *(.text); 34 34 ktext_end = .; … … 41 41 LONG(PA2KA(BOOT_OFFSET+BOOTSTRAP_OFFSET)); 42 42 hardcoded_ktext_size = .; 43 LONG( ktext_end - ktext_start+ (unmapped_ktext_end - unmapped_ktext_start));43 LONG((ktext_end - ktext_start) + (unmapped_ktext_end - unmapped_ktext_start)); 44 44 hardcoded_kdata_size = .; 45 LONG( kdata_end - kdata_start+ (unmapped_kdata_end - unmapped_kdata_start));45 LONG((kdata_end - kdata_start) + (unmapped_kdata_end - unmapped_kdata_start)); 46 46 hardcoded_unmapped_ktext_size = .; 47 47 LONG(unmapped_ktext_end - unmapped_ktext_start); -
arch/ia32/include/boot/boot.h
rf3a6c8e5 r9060bd1 31 31 32 32 #define BOOTSTRAP_OFFSET 0x8000 33 #define BOOT_OFFSET 33 #define BOOT_OFFSET 0x100000 34 34 35 35 #define MULTIBOOT_HEADER_MAGIC 0x1BADB002 -
doc/requirements
rf3a6c8e5 r9060bd1 7 7 COMPILER REQUIREMENTS 8 8 o binutils 2.15 and gcc 3.3.5 9 o binutils 2.16 and gcc 4.0.1 9 10 o older versions may do as well, but are now obsoleted 10 11 11 12 SMP COMPATIBILITY 12 o Bochs 2.0.2 - Bochs 2.2 13 o Bochs 2.0.2 - Bochs 2.2.1 13 14 o 2x-8x 686 CPU 14 15 o Simics 2.0.28 - Simics 2.2.19 … … 18 19 19 20 EMULATORS AND VIRTUALIZERS 20 o Bochs 2.0.2 - Bochs 2.2 21 o Bochs 2.0.2 - Bochs 2.2.1 21 22 o VMware Workstation 4, VMware Workstation 5 23 o Simics 2.2.19 22 24 23 25 amd64 port 24 ========= 26 ========== 25 27 HARDWARE REQUIREMENTS 26 28 o no real hardware supported 27 29 28 30 SMP COMPATIBILITY 29 o Bochs 2.2 31 o Bochs 2.2.1 30 32 o 2x-8x AMD64 CPU 31 33 o Simics Simics 2.2.19 … … 37 39 38 40 mips32 port 39 ========= 41 =========== 40 42 41 43 HARDWARE REQUIREMENTS -
src/Makefile.config
rf3a6c8e5 r9060bd1 4 4 #ARCH=ppc 5 5 #ARCH=amd64 6 7 # If this is yes, then cross compiler will be used instead of host compiler 8 CROSS_COMPILER=no 6 9 7 10 # Support for symetric multiprocessors -
src/build.ia32
rf3a6c8e5 r9060bd1 1 1 #! /bin/sh 2 2 3 make all ARCH=ia32 3 COMPILER="" 4 5 if [ $1 == "cross" ]; 6 then 7 COMPILER="CROSS_COMPILER=yes"; 8 fi; 9 10 make all ARCH=ia32 $COMPILER
Note:
See TracChangeset
for help on using the changeset viewer.