- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is there a 2 gig limit in C programming
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
02-28-2005 09:35 AM
02-28-2005 09:35 AM
I am running the following c progam on HP UX 11.11
B3901BA B.11.11.08 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:37 AM
02-28-2005 09:37 AM
Re: Is there a 2 gig limit in C programming
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:40 AM
02-28-2005 09:40 AM
Re: Is there a 2 gig limit in C programming
/dev/vg06/lvol6 /diamelig vxfs rw,suid,largefiles,delaylog,datainlog 0 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:43 AM
02-28-2005 09:43 AM
Re: Is there a 2 gig limit in C programming
Unless you want to *seek* in largefiles, Clay is right that the largefiles option should be enough, otherwise (when you /do/ need seeks or *big* reads - over 2 Gb) you should compile into 64bit objects
# cc -O +Da2.0w -Ae ...
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:44 AM
02-28-2005 09:44 AM
Re: Is there a 2 gig limit in C programming
Unless you want to *seek* in largefiles, Clay is right that the largefiles option should be enough, otherwise (when you /do/ need seeks or *big* reads - over 2 Gb) you should compile into 64bit objects
# cc -O +DA2.0w -Ae ...
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:46 AM
02-28-2005 09:46 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:48 AM
02-28-2005 09:48 AM
Re: Is there a 2 gig limit in C programming
How do I check if the quotas in effect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 10:40 AM
02-28-2005 10:40 AM
Re: Is there a 2 gig limit in C programming
He wrote a simple program using fopen, fgets, and fprintf and it ran fine. He is not suggesting that I am out of some resource.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 10:53 AM
02-28-2005 10:53 AM
Re: Is there a 2 gig limit in C programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 10:54 AM
02-28-2005 10:54 AM
Re: Is there a 2 gig limit in C programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 11:27 AM
02-28-2005 11:27 AM
Re: Is there a 2 gig limit in C programming
I guess compiling with the following took a long time and never finished
cc -O +DA2.0w -Ae
I called HP and they suggested running it with +DA2.0W
It compiled, but with errors. We are running out of time today. So we are manually spliting it up and then conctanating the output after to send out.
Thanks again guys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 11:44 AM
02-28-2005 11:44 AM
Re: Is there a 2 gig limit in C programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 04:39 AM
03-01-2005 04:39 AM
Re: Is there a 2 gig limit in C programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 04:52 AM
03-01-2005 04:52 AM