- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- link for C++ and C
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
тАО02-28-2007 05:24 PM
тАО02-28-2007 05:24 PM
link for C++ and C
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 05:32 PM
тАО02-28-2007 05:32 PM
Re: link for C++ and C
You can link C sources with aC++ objects, archives or shared libs, provided you use aCC to link.
http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking
http://www.docs.hp.com/en/7762/5991-4874/otherlangs.htm
- Tags:
- archive lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 05:37 PM
тАО02-28-2007 05:37 PM
Re: link for C++ and C
i have API which is compile with c++.
and client is compile with c.
is it possible to link client to api archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 06:03 PM - edited тАО10-09-2011 09:32 PM
тАО02-28-2007 06:03 PM - edited тАО10-09-2011 09:32 PM
Re: link for C++ and C
>I have API which is compile with C++ and client is compile with C. Is it possible to link client to API archive?
See the above links.
Yes. If you want to call C++ functions in C, you need to declare them as extern "C" so they aren't mangled.
- Tags:
- mangled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 08:53 PM
тАО03-05-2007 08:53 PM
Re: link for C++ and C
http://forums1.itrc.hp.com/service/forums/helptips.do?#33