|
From: fiveight <fiv...@to...> - 2007-05-08 14:58:55
|
Hi All: I run this command: gcc.exe -v -shared -nostdlib -Wl,--image-base=3D0xC0010000 = -Wl,--entry=3D_start -Wl,--out-implib,"G:/test/Debug/kernel.lib" -o = "./Debug/kernel.dll" -Wl,@"G:\test\Debug\RSP0000C368DC41.rsp" note that there is a response file at the end of the command. I get = these output: Reading specs from c:/soft lab/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:/soft lab/lib -Lc:/soft = lab/lib/gcc/mingw32/3.4.5 -L. --image-base=3D0xC0010000 --entry=3D_start = --out-implib G:/test/Debug/kernel.lib @G:\test\Debug\RSP0000C368DC41.rsp ld: @G:\test\Debug\RSP0000C368DC41.rsp: No such file: Invalid argument Why ld can not find this response file? How can I use response file with = ld.exe? Thanks! |