• malai
  • malai's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 years 1 month ago #2109 by malai
was created by malai
I think you might be better with:

jcompile test.c -olibtest.so -q64

To get a 64 bit module, but it is only going to work if jBASE is 64 bit.

If the library was 64 bit, then I think you get:

64-bit XCOFF executable or object module not stripped

You can also use:

Getconf -a |grep KERN

To see what your kernel is set up for

Jim

Hi Shankar,

Does jim's reply helps you?
_________________
M A L A I

Please Log in or Create an account to join the conversation.

More
19 years 1 month ago #2110 by shankar
Replied by shankar on topic
hi,

We can able to produce a 64 bit library only if jbase4.1 is 64 bit.

Only if jbase4.1 has 64bit lib files, it can produce 64 bit libraries.We can identify this by executing a 'file' command on any lib file under jbase lib directory.Or it may also have a seperate directory like 'lib64'in which all jbase 64 libfiles are present.

The jbase 4.1 present in our server is 32 bit. I left the decision of producing a 64bit library from a 32 bit jbase4.1(impossible process), but modified my makefile and unix scripts to produce a 32bit library compatible with jbase 4.1. Now my library is able to interact with jbase4.1.

Regards,
Shankar

Please Log in or Create an account to join the conversation.

Time to create page: 0.030 seconds