Hi Alexey,
Alexey Lebedeff wrote:
>
> Привет Alexander!
>
> 04 Dec 00 02:28, Alexander V. Voinov wrote to All:
>
> AV> Извини, _кто_ задумывается? Bash, dllwrap, xemacs, gcc, ...?
> dllwrap.exe А еще круче с -mno-cygwin (цифирки смотри) :
>
> ==== Hачало Windows Clipboard ====
> dllwrap -mno-cygwin --dllname embed_ctrl.dll --def embed_ctrl.def --output-lib
> embed_ctrl.a embed_ctrl.o embed_ctrl_pch.o embed_ctrl_resource.o -lgdi32
> -luser32 -lkernel32
>
> Cannot reallocate 2080374784 bytes after allocating 68577308 bytes
> ==== Конец Windows Clipboard ====
%.pyd : %.o
dllwrap --dllname $@ --driver-name gcc --def $*.def -o $@ $^ -s --entry _DllMain@12 --target=i386-mingw32 $(LIBDIRS) $(LIBS)
Вот кусок из работавшего (у меня) год назад Makefile'a, взятого со
страницы одного питонщика. Больше ничего не могу сказать. Из последней
версии я пользовался только утилитами. Еще (смутно) припоминаю, что
Mumit Khan говорил, что --entry здесь необязательно.
С уважением
Александр
|