- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C compiler cannot create executables
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
Discussions
Discussions
Discussions
Forums
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
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
тАО06-14-2001 05:15 AM
тАО06-14-2001 05:15 AM
When I want to use configure, I get an error. It's on a hpux 11.
When I use gcc (gcc version 2.95.3 20010315):
# ./configure
loading cache ./config.cache
checking host system type... hppa1.1-hp-hpux11.00
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
When I use cc:
loading cache ./config.cache
checking host system type... hppa1.1-hp-hpux11.00
checking for gcc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for CC... no
checking for C++... no
checking for g++... g++
checking for c++... (cached) g++
checking whether the C++ compiler (g++ ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
When I do the configure on a Linux system, it all works fine, so there is nothing wrong with the package.
Does anyone knows how to solve this??
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2001 05:41 AM
тАО06-14-2001 05:41 AM
Re: C compiler cannot create executables
My advise woul be go and get gcc 2.95.3 binaries, from the porting and archive center...
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-2.95.3/
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2001 10:00 AM
тАО06-14-2001 10:00 AM
Re: C compiler cannot create executables
right gcc.
The directory /opt/softbench/bin (if present) creates
all sorts of entertaining problems by including its own
wrappers for cc, f77, gcc, etc., even if the target program
isn't installed.
If you have /opt/softbench/bin/gcc it might confuse the
configure script. You may want to either change your
PATH or rename those troublesome scripts to gcc.softbench,
etc.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2001 09:40 PM
тАО06-14-2001 09:40 PM
Re: C compiler cannot create executables
/opt/gcc/bin/gcc
And I'm already using the gcc ported for HP.
# gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/specs
gcc version 2.95.3 20010315 (release)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2001 09:55 PM
тАО06-14-2001 09:55 PM
SolutionYou can download GNU binutils from
http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.11/