- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc: +DD64: No such file or directory
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
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
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-28-2009 03:51 AM
тАО06-28-2009 03:51 AM
I'm trying to compile my executable with +DD64 (we are using gcc compiler) but I get the following msg:
"gcc: +DD64: No such file or directory"
what do I miss? how can I compile 64bit app with gcc?
tx,
s
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2009 04:47 AM
тАО06-28-2009 04:47 AM
Re: gcc: +DD64: No such file or directory
The gcc compiler options are different from those used by the native HP-UX C/aC++ compiler.
Have a look here:
For PA-RISC:
http://gcc.gnu.org/onlinedocs/gcc/HPPA-Options.html#HPPA-Options
For Itanium:
http://gcc.gnu.org/onlinedocs/gcc/IA_002d64-Options.html#IA_002d64-Options
Regards!
...JRF>>>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2009 05:25 AM
тАО06-28-2009 05:25 AM
Re: gcc: +DD64: No such file or directory
I work on pa-risk, but even when I tried to specify -mpa-risc-2-0 to the gcc, it seems that it doesn't work.
1. when I'm runing "file
2. my program prints "sizeof(long)" which should return 8 in case of 64bit application, but it returns 4
what do you suggest?
tx,
s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2009 08:46 AM
тАО06-28-2009 08:46 AM
Re: gcc: +DD64: No such file or directory
> 64bit application, [...]
That's one opinion.
> what do you suggest?
Use "long long" if you want "long long"?
Which option did you specify which would make
"long" 64 bits (which would break all kinds
of existing code)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2009 10:59 AM
тАО06-28-2009 10:59 AM
SolutionThis is still 32 bit mode. Just PA2.0 vs PA1.1.
If you want to compile with 64 bit on PA, you need to download HP's gcc compiler, or build your own. (There are two for PA.)
http://www.hp.com/go/gcc
>>"sizeof(long)" which should return 8 in case of 64bit application
Correct, for LP64.
>Steven: That's one opinion.
No, that's a HP-UX fact.
>Which option did you specify which would make "long" 64 bits (which would break all kinds of existing code)?
That's why it is called "porting" to 64 bit.