AIX server is compiling executables to 32-bits by default, how to change it?

Hi everyone:

I have a server running AIX 6.1, I've upgraded the TL from 6100-0100 to 6100-04-02-1007, however since then all the executables I compile are 32-bit mode by default, how can I solve this?

I'm using VisualAge C/C++ 10.0

thanks in advance

AIX 6 is a 64 bit operating system, it does not compile executables.
What compiler are you using - type, name and version?
You may have more luck on a forum associated with your compiler but please post back here and we'll see if we can help.

You're right, I'm going to edit my question.
I'm using Visual Age C/C++ 10.0

---------- Post updated at 03:25 PM ---------- Previous update was at 12:59 PM ----------

Solved

By default VisualAge compiles applications to 32-bit mode, if compilation to 64-bit mode is desired the OBJECT_MODE environment variable must be set to 64 before

1 Like

Thanks for posting the solution.

I'll second that.