- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I set the 'cc' compiler for my session?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 01:54 AM
09-20-2005 01:54 AM
How do I set the 'cc' compiler for my session?
-----------------------------------------------
(Bundled) cc: warning 922: "+Olibmerrno" is unsupported in the bundled compiler,
ignored.
(Bundled) cc: warning 922: "+Ofast" is unsupported in the bundled compiler, igno
red.
(Bundled) cc: warning 922: "+Olit=all" is unsupported in the bundled compiler, i
gnored.
(Bundled) cc: warning 922: "+Oshortdata=8" is unsupported in the bundled compile
r, ignored.
(Bundled) cc: warning 922: "+O2" is unsupported in the bundled compiler, ignored
.
(Bundled) cc: warning 922: "+O2" is unsupported in the bundled compiler, ignored
.
(Bundled) cc: warning 922: "+Olit=all" is unsupported in the bundled compiler, i
gnored.
(Bundled) cc: warning 922: "+Oshortdata=8" is unsupported in the bundled compile
r, ignored.
ld: Can't find library or mismatched ABI for -lodm9
Fatal error.
*** Error exit code 1
Stop.
End output from spawned process.
----------------------------------
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ioracle' of makefile '/oracle2/OraHo
me1/rdbms/lib/ins_rdbms.mk'. See '/oracle/oraInventory/logs/installActions2005-0
9-16_02-07-07PM.log' for details.
Exception Severity: 1
-----------------------------------------------
I know that these refer to the limitations of the bundled compiler for use in building the kernel. I have GNU gcc installed on this system and would like to try using it to complete the Oracle installation. How do I tell my environment to use gcc instead of the bundled cc? I'm using Bash as my shell. Would just exporting:
CC=/path/to/gcc
work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 02:23 AM
09-20-2005 02:23 AM
Re: How do I set the 'cc' compiler for my session?
try adding to environment variable PATH also the gcc path.
just a guess
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 02:28 AM
09-20-2005 02:28 AM
Re: How do I set the 'cc' compiler for my session?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 02:35 AM
09-20-2005 02:35 AM
Re: How do I set the 'cc' compiler for my session?
Try to check the Oracle 9.2.0.6 patch script , how its calling the cc program , you can accordingly replace it by gcc location.
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 02:45 AM
09-20-2005 02:45 AM
Re: How do I set the 'cc' compiler for my session?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 03:38 AM
09-20-2005 03:38 AM
Re: How do I set the 'cc' compiler for my session?
I'd also set some more things:
CPP=/usr/local/bin/cpp
CXX=/usr/local/bin/g++
(or whereever these reside)
- but I've never linked Oracle on HP-UX using gcc; but I've done it on linux without problems, so it should work. Check You're using a multithreaded gcc build with gcc -v, I don't know if it'll break anything if it isn't multithreaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 05:34 AM
09-21-2005 05:34 AM
Re: How do I set the 'cc' compiler for my session?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 06:46 AM
09-21-2005 06:46 AM