* Crossposted in RU.GNU *
* Crossposted in MEMORY.ATTIC *
привет, Alexey!
Mon, Dec 04 2000, Alexey Lebedeff писал(а) в письме к Alexander V. Voinov:
AL> dllwrap.exe А еще круче с -mno-cygwin (цифирки смотри) :
AL> ==== Hачало Windows Clipboard ====
AL> dllwrap -mno-cygwin --dllname embed_ctrl.dll --def embed_ctrl.def
AL> --output-lib embed_ctrl.a embed_ctrl.o embed_ctrl_pch.o
AL> embed_ctrl_resource.o -lgdi32 -luser32 -lkernel32
AL> Cannot reallocate 2080374784 bytes after allocating 68577308 bytes
AL> ==== Конец Windows Clipboard ====
какая версия бинутилей? новый ld (из binutils-20001029) должен просто понимать
-shared
==============================================================================
g++ -gstabs+ -O2 -MD -fbuiltin -nostartfiles -Wl,-shared -o new-cygwin1.dll -e
_dll_entry@12 cygwin.def assert.o autoload.o cygheap.o dcrt0.o debug.o
delqueue.o dir.o dlfcn.o dll_init.o dtable.o environ.o errno.o exceptions.o
exec.o external.o fcntl.o fhandler.o fhandler_clipboard.o fhandler_console.o
fhandler_floppy.o fhandler_mem.o fhandler_random.o fhandler_raw.o
fhandler_serial.o fhandler_socket.o fhandler_tape.o fhandler_termios.o
fhandler_tty.o fhandler_windows.o fhandler_zero.o fork.o glob.o grp.o heap.o
init.o ioctl.o localtime.o malloc.o miscfuncs.o mmap.o net.o ntea.o passwd.o
path.o pinfo.o pipe.o poll.o pthread.o regexp.o regerror.o regsub.o registry.o
resource.o scandir.o security.o select.o shared.o signal.o sigproc.o
smallprint.o spawn.o strace.o strsep.o sync.o syscalls.o sysconf.o syslog.o
termios.o thread.o times.o tty.o uinfo.o uname.o wait.o window.o longjmp.o
setjmp.o
/build/i586-pc-cygwin/sourceware/i586-pc-cygwin/libiberty/random.o
/build/i586-pc-cygwin/sourceware/i586-pc-cygwin/libiberty/strsignal.o
version.o winver.o
/build/i586-pc-cygwin/sourceware/i586-pc-cygwin/winsup/w32api/lib/libkernel32.a
/build/i586-pc-cygwin/sourceware/i586-pc-cygwin/newlib/libm/libm.a
/build/i586-pc-cygwin/sourceware/i586-pc-cygwin/newlib/libc/libc.a
dlltool --as=as --dllname new-cygwin1.dll --def cygwin.def --output-lib
new-libcygwin.a
=============================================================================
егор. mailto:deo@logos-m.ru icq 5165414
|