Hello,

I am trying to link Rouge Wave 64-bit to a 32 bit application :-

CC -mt -D_REENTRANT -G -KPIC -xarch=v8plus -D_RWCONFIG_12d -DRW_CLASSIC_STRING_CLASSES -I/hfx/opt/sourcepro9 -c myApp.cpp
Linking myApp
CC -mt -D_REENTRANT -xarch=v8plus myApp.o -o myApp -Bdynamic -L../lib -L/hfx/opt/sourcepro9/lib -ltls71012d -L../lib -lsocket
ld: fatal: file /hfx/opt/sourcepro9/lib/libtls71012d.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to myApp
*** Error code 1
make: Fatal error: Command failed for target `myApp'

According to the documentation I can find, v8plus makes an application 32-bit.

This works fine until I try to link to RW sourcepro9 (64 bit).

As you can see the compiler does not like linking 64-bit libraries to a 32-bit application.

I accept this, but is there any workaround ?


Many thanks.