1834882 Members
2261 Online
110071 Solutions
New Discussion

Installing gcc.

 

Installing gcc.

Hi,

I have to use adrelink.sh to relink oracle applications executables which use cc. I have B9007AAEVAL C.11.23.12.VAL HP C/aC++ Developer's Bundle
installed. I have encountred some errors like : /usr/ccs/bin/ld: Unsatisfied symbols: and I want to try gcc instead. I installed gcc (/opt/hp-gcc64-4.0.3) but I don't know how to redirect adrelink to use gcc instead of cc.

thx in advance,

sofiane.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Installing gcc.

Shalom Sofiane,

A few things might help.

1) Change your PATH variable so gcc is on the path befored cc.

2) Change your SHLIB_PATH to reflect the same.

3) Instead of make use gmake. Where the compile instructions say something like make use gmake instead.

If the code is gcc compatible that should just about do it.

SEP
Don't worry, where I live isn't be shelled!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Installing gcc.

Hi,

Where can I found gmake ?

thx in advance,

Sofiane.
Arunvijai_4
Honored Contributor

Re: Installing gcc.

Hi,

You can download gmake from http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.80/.

Also, do this before start compilation,
#export CC=/opt/hp-gcc64-4.0.3/bin/gcc

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: Installing gcc.

Shalom,

gmake should have been installed by the gcc package. If not, make sure you pick a version from Arun's link that is version compatible with your installed gcc.

whence gmake

Will show you versions of gmake that are on the path.

Good luck,

SEP
Still Safe.
Really!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com