|
From: fiveight <fiv...@to...> - 2007-04-25 16:26:41
|
Hi all: I run this command: gcc.exe -v -shared -nostdlib --disable-auto-image-base = --image-base=3D0xC0010000 -o "./Debug/kernel.dll" "Debug/conio.o" = "Debug/dev.o" "Debug/gdbstub.o" "Debug/handle.o" "Debug/heap.o" = "Debug/int.o" "Debug/list.o" "Debug/mm.o" "Debug/mutex.o" = "Debug/partition.o" "Debug/process.o" "Debug/scheduler.o" = "Debug/start.o" "Debug/stdlib.o" "Debug/string.o" "Debug/thread.o" = "Debug/timer.o" "Debug/hal.o" "Debug/isr.o"=20 the verbose is: Reading specs from c:/softlab/lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld = --with-gnu-as --host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw = --enable-threads --disable-nls = --enable-languages=3Dc,c++,f77,ada,objc,java --disable-win32-registry = --disable-shared --enable-sjlj-exceptions --enable-libgcj = --disable-java-awt --without-x --enable-java-gc=3Dboehm = --disable-libgcj-debug --enable-interpreter = --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw special) ld --shared -Bdynamic -e _DllMainCRTStartup@12 --enable-auto-image-base = -o ./Debug/kernel.dll -Lc:/softlab/lib = -Lc:/softlab/lib/gcc/mingw32/3.4.5 -L. Debug/conio.o Debug/dev.o = Debug/gdbstub.o Debug/handle.o Debug/heap.o Debug/int.o Debug/list.o = Debug/mm.o Debug/mutex.o Debug/partition.o Debug/process.o = Debug/scheduler.o Debug/start.o Debug/stdlib.o Debug/string.o = Debug/thread.o Debug/timer.o Debug/hal.o Debug/isr.o Why ld.exe still have the --enable-auto-image-base option.How can I set = my own image base? And ../gcc-3.4.5/configure dir puzzles me, I can not find this dir on my disk, why? Thanks! |