My Oracle Support Banner

How to fix -xarch deprecation warning for Solaris sample makefiles? (Doc ID 1116076.1)

Last updated on AUGUST 04, 2018

Applies to:

Precompilers - Version to [Release 10.2 to 11.2]
Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
***Checked for relevance on 26-Nov-2013***


Using the Oracle makefile, you see output including the warning:

make -f build EXE=sample1 OBJS=sample1.o
cc -xarch=v9 -o sample1 sample1.o -L/opt/64bit/app/oracle/product/ -lclntsh `cat /opt/64bit/app/oracle/product/` `cat /opt/64bit/app/oracle/product/` -R/opt/64bit/app/oracle/product/ -laio -lposix4 -lm -lthread
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.