- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Questions about GCC
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
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
тАО04-04-2006 09:38 PM
тАО04-04-2006 09:38 PM
2.Can i compile 64-bit objects on GCC?
Solved! Go to Solution.
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 09:42 PM
тАО04-04-2006 09:42 PM
Solution2. What architecture?
on PA-RISC, you need two gcc compilers: one for 32bit generation, and one for 64bit generation. They do not mix.
on Itanium, there is only one compiler, which is able to generate both.
To see all available options:
# gcc -v --help
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 09:44 PM
тАО04-04-2006 09:44 PM
Re: Questions about GCC
1. Can i use shared libraries compiled on aCC in binaries compiled on GCC?
Yes, You can do it.
2. Can i compile 64-bit objects on GCC?
Ofcourse, Yes.
You need to have a 64 bit GCC for this. You can download from
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 09:55 PM
тАО04-04-2006 09:55 PM
Re: Questions about GCC
You can use that.
2.Can i compile 64-bit objects on GCC?
Based on the platform you can use. See model command output to see whether you machine is PA-RISC or Itanium.
64 bit gcc compiler is available for PA-RISC to support 64 bit.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 10:15 PM
тАО04-04-2006 10:15 PM
Re: Questions about GCC
To compile 64 bit in GCC,
PA-RISC, you can install 64 bit compiler,
/usr/local/gcc64/bin/gcc as your compiler.
IA64, -mlp64 with GCC.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 10:34 PM
тАО04-04-2006 10:34 PM
Re: Questions about GCC
function names in GCC and aCC objects are different.
I must use extern "C" directive or i can use some key in compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 10:56 PM
тАО04-04-2006 10:56 PM
Re: Questions about GCC
You can use Key-in Directives for the portability.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 11:03 PM
тАО04-04-2006 11:03 PM
Re: Questions about GCC
You can also check these threads for more information,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=36827
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726526
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 12:25 PM
тАО04-05-2006 12:25 PM
Re: Questions about GCC
GCC (all uppercase) is usually interpreted as the GNU Compiler Collection, which includes both C and C++ compilers. gcc (lowercase) is the GCC C language compiler.
- Tags:
- g++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 04:50 PM
тАО04-05-2006 04:50 PM