Przemek:

>It's less important if current version fails or not.
>More important is information if above trick can be used.
>If this trick works without any errors then it should eliminate
>passing object files in command line between GCC and LD what is
>the source of problem because GCC will not expand -Wl, at __dyn__.tmp
>but pass @__dyn__.tmp directly to LD.

Check me if  "-Wl," is inserted correctly

First try using -v switch in gcc:
 __dyn__.tmp is expanded

gcc -shared -L../../../../../lib/os2/gccomf -Zomf -v -o ../../../../../bin/os2/gccomf/harbour.dll -Wl, @__dyn__.tmp __dyn__.def -lsocket
Using built-in specs.
Target: i386-pc-os2-emx
Configured with: ./configure --prefix=/usr/local44 --enable-shared --enable-languages=c,c++,fortran --with-gnu-as --disable-bootstrap --disable-libstdcxx-pch --enable-threads
Thread model: os2
gcc version 4.4.2 (GCC)
COMPILER_PATH=E:/usr/local442/bin/../libexec/gcc/i386-pc-os2-emx/4.4.2/;E:/usr/local442/bin/../libexec/gcc/;E:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/../../../../i386-pc-os2-emx/bin/
LIBRARY_PATH=E:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/;E:/usr/local442/bin/../lib/gcc/;E:/usr/local442/lib/gcc/i386-pc-os2-emx/4.4.2/;E:/usr/local442/lib/;E:/usr/lib/;./;E:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/../../../../i386-pc-os2-emx/lib/;E:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/../../../;/usr/lib/
COLLECT_GCC_OPTIONS='-shared' '-L../../../../../lib/os2/gccomf' '-Zomf' '-v' '-o' '../../../../../bin/os2/gccomf/harbour.dll' '-mtune=i386' emxomfld.exe -Zdll -o ../../../../../bin/os2/gccomf/harbour.dll E:/usr/lib/dll0.obj -L../../../../../lib/os2/gccomf -LE:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2 -LE:/usr/local442/bin/../lib/gcc -LE:/usr/local442/lib/gcc/i386-pc-os2-emx/4.4.2 -LE:/usr/local442/lib -LE:/usr/lib -L. -LE:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/../../../../i386-pc-os2-emx/lib -LE:/usr/local442/bin/../lib/gcc/i386-pc-os2-emx/4.4.2/../../.. ../../../../../src/common/obj/os2/gccomf/expropt1.o ../../../../../src/common/obj/os2/gccomf/expropt2.o

[...]

../../../../../src/vm/obj/os2/gccomf/pvalue.o ../../../../../src/vm/obj/os2/gccomf/runner.o ../../../../../src/vm/obj/os2/gccomf/vm.o __dyn__.def -lsocket -lc_alias -lc_dll -los2 -lgcc442 -lc_alias -lc_dll -los2 -lend emxomf: Input file `E:\harbour102\harbour\src\dynlib\obj\os2\gccomf' is not seekable emxomfld: a.out to omf conversion failed for 'E:\harbour102\harbour\src\dynlib\obj\os2\gccomf'.
make[3]: *** [harbour.dll] Error 1

David Macias


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to