libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dll cross-compile, .libs/impgen is a win-exe, not a linux-binary


From: Guido Draheim
Subject: dll cross-compile, .libs/impgen is a win-exe, not a linux-binary
Date: Tue, 19 Jun 2001 23:52:09 +0200

no further comment needed, here's the output (libtool 1.4, 1.920)
any ideas?

/bin/sh ./libtool --mode=link i386-mingw32msvc-gcc  -D_export=__dllexport   
-W,-E -W,--warn-common -o mforth.la -rpath
/programs/pfe/pfe -export-dynamic -module -avoid-version -Wl,-E ipc-def.lo 
ipc-ext.lo timer-def.lo timer-ext.lo tmfkey-ext.lo
tmtimer-ext.lo tm-ext.lo mforth-ext.lo mforth-words.lo mforth-dll.lo 
-no-undefined --noinhibit-exec -mconsole
--export-all-symbols     -L../pfe/.libs -lpfe 
extracting exported symbol list from `libpfe-0-31-40.dll'
test -f .libs/impgen.c || \
      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here 
\*\// { s/^# //;s/^# *$//; p; }" -e d < ./libtool
> .libs/impgen.c 
      test -f .libs/impgen.exe || (cd .libs && \
      if test "x" != "x" ; then  -o impgen impgen.c ; \
      else i386-mingw32msvc-gcc -o impgen impgen.c ; fi) 
      .libs/impgen /usr/src/pfe/.libs/.libs/libpfe-0-31-40.dll > 
.libs/libpfe-0-31-40.dll-def
./libtool: .libs/impgen: cannot execute binary file
make: *** [mforth.la] Error 126
address@hidden:/usr/src/mforth > file .libs/impgen
.libs/impgen: MS Windows PE 32-bit Intel 80386 console executable not 
relocatable



reply via email to

[Prev in Thread] Current Thread [Next in Thread]