- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bi-Endian HP-UX 11.0 ? Where can i find this s...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
12-13-2006 12:49 AM
12-13-2006 12:49 AM
our software developers now have the problem to migrate from a hp-ux 11.0 system to a linux enterprise server on intel machines.
HP-UX 11.0 is running on L1500-6x Hardware, so this is a bi-endian hardware.
But where can i find the setting on my system? I thought on bi-endian systems, sometimes user-applications can choose which endian-type (big or little) the use.
Can i find out, which type the application choses?
Thanks for any reply, i am a bit confused...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 01:40 AM
12-13-2006 01:40 AM
Re: Bi-Endian HP-UX 11.0 ? Where can i find this setting?
read this to learn more about big-endian and little-endian architectures:
http://docs.hp.com/en/B2355-90950/ch02s10.html
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 05:45 AM
12-13-2006 05:45 AM
Re: Bi-Endian HP-UX 11.0 ? Where can i find this setting?
I believe HP-UX and HP-UX applications are
always run in big-endian mode. I don't
think there is a way to switch modes.
If you want to test to see if your
environment is big endian, use sysconf()
or getconf:
getconf KERNEL_IS_BIGENDIAN
The KERNEL_IS_BIGENDIAN parameter is not
standardized, so it may not be available on
other platforms. In that case, a C union can
be used to detect endianness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 12:23 PM
12-13-2006 12:23 PM
SolutionNow, Itanium is a bi-endian processor, and the Linux Enablement Kit (IIRC that is the name, perhaps it is Linux Runtime Environment) on HP-UX 11iv2 on _Integrity_ systems (aka Itanium CPUs) has ways to run little-endian Linux _Itanium_ binaries on the big-endian UX kernel. (Linux on Itanium runs the CPU in little-endian mode)
So, there is nothing on HP-UX 11.00 on PA-RISC to allow you to try things there before migrating to little-endian linux.
So, are these "intel machines" x86 or Itanium? They do at least say "HP" on the front yes?-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 05:34 PM
12-13-2006 05:34 PM
Re: Bi-Endian HP-UX 11.0 ? Where can i find this setting?
So HP-UX is an only big-endian os. So our developers will have no choice except converting their programs (testing positions of bytes in cobol) to little endian syntax or write a hole new program.
I just wanted to know, so thanks for all of your answers, they all helped me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 06:22 PM
12-13-2006 06:22 PM
Re: Bi-Endian HP-UX 11.0 ? Where can i find this setting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2006 12:13 AM
12-16-2006 12:13 AM
Re: Bi-Endian HP-UX 11.0 ? Where can i find this setting?
http://www.hp.com/go/cadvise