Paul H. Hargrove wrote:
> It has been a long time since I've attempted to support my software on AIX.
> However, my old notes mention OBJECT_MODE and COMPILE_BITS as environment
> variables which influence the IBM toolchain.
> IIRC, their use could/should eliminate the need for `-q64` and `-X 64`
> arguments in the 64-bit cases listed by Bruno.
> 
> See, for instance,
> https://www.ibm.com/docs/en/xl-fortran-aix/16.1.0?topic=environment-default-bit-mode

OBJECT_MODE works fine for xlc.

But it does not work with gcc:

  $ OBJECT_MODE=64 gcc hello.c
  Assembler:
  /tmp//ccK4WLFO.s: line 8: 1252-191 Only .llong should be used for relocatable 
expressions.
  /tmp//ccK4WLFO.s: line 56: 1252-191 Only .llong should be used for 
relocatable expressions.
  $ echo $?
  1

Bruno



_______________________________________________
cfarm-users mailing list
cfarm-users@lists.tetaneutral.net
https://lists.tetaneutral.net/listinfo/cfarm-users

Reply via email to