[Gauche-devel-jp] Gauche の Windows での DLL 化

アーカイブの一覧に戻る

shelarcy shela****@capel*****
2004年 6月 17日 (木) 20:03:22 JST


こちらの方が多くの人の目に触れるかなと思ったので、こちらで聞きます。

今現在、gauche を static library で作ることはできても、dynamic library
になりません。make ファイルを見てみる限り、以下のオブジェクトファイルが
あれば問題なくリンクできるはずだと思うのですが、何か問題がありますでしょ
うか?

C:\develop\Gauche-0.8\boost>bjam
...found 77 targets...
...updating 1 target...
gcc.link.dll bin\gcc\debug\gauche_core.dll
c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: 
invalid hex number for PE parameter 'gauche_core.dll'

     g++  -g    -o "bin\gcc\debug\gauche_core.dll"  -Wl,-h 
-Wl,gauche_core.dll  -shared "bin\gcc\debug\autoloads.o" 
"bin\gcc\debug\bignum.o" "bin\gcc\debug\boolean.o" "bin\gcc\debug\char.o" 
"bin\gcc\debug\class.o" "bin\gcc\debug\compare.o" 
"bin\gcc\debug\compile.o" "bin\gcc\debug\core.o" "bin\gcc\debug\error.o" 
"bin\gcc\debug\exclib.o" "bin\gcc\debug\extlib.o" "bin\gcc\debug\hash.o" 
"bin\gcc\debug\keyword.o" "bin\gcc\debug\list.o" "bin\gcc\debug\load.o" 
"bin\gcc\debug\macro.o" "bin\gcc\debug\module.o" "bin\gcc\debug\moplib.o" 
"bin\gcc\debug\number.o" "bin\gcc\debug\parameter.o" 
"bin\gcc\debug\port.o" "bin\gcc\debug\proc.o" "bin\gcc\debug\promise.o" 
"bin\gcc\debug\read.o" "bin\gcc\debug\regexp.o" "bin\gcc\debug\repl.o" 
"bin\gcc\debug\serial.o" "bin\gcc\debug\signal.o" "bin\gcc\debug\stdlib.o" 
"bin\gcc\debug\string.o" "bin\gcc\debug\symbol.o" "bin\gcc\debug\vector.o" 
"bin\gcc\debug\vm.o" "bin\gcc\debug\weak.o" "bin\gcc\debug\write.o"    
-Wl,-Bdynamic -lgc  -Wl,-Bstatic   -Wl,-Bdynamic -lgc  -Wl,-Bstatic  
-Wl,-Bdynamic

...failed gcc.link.dll bin\gcc\debug\gauche_core.dll...
...failed updating 1 target...


-- 
shelarcy <shela****@capel*****>
http://page.freett.com/shelarcy/



Gauche-devel-jp メーリングリストの案内
アーカイブの一覧に戻る