- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP-UX 11.11 compiled binaries running on HP-UX...
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-28-2006 03:04 AM
тАО04-28-2006 03:04 AM
I tried compiling them as PA-RISC1.1 binaries but gcc/g++ steadfastly refuses to do so despite every combination of -march=1.1 and +DA1.1 and +DAportable etc I've tried.
Solved! Go to Solution.
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 03:14 AM
тАО04-28-2006 03:14 AM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 03:18 AM
тАО04-28-2006 03:18 AM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
There are no guarentees going in the direction that you are trying to move your code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 03:28 AM
тАО04-28-2006 03:28 AM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
The real answer is, it depends.
It depends on the compiler, it depends on the code, it depends on the options.
It might work, it might not.
I'd say write a good test plan.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2006 03:37 AM
тАО04-28-2006 03:37 AM
Solution-mpa-risc-1-1 is
I've just tried, and I am *sure* it depends on the libs you link against.
11.11:
/tmp 104 > cat xx.c
#include
int main (int argc, char *argv[])
{
(void)printf ("Hello, world\n");
return (0);
} /* main */
/tmp 105 > gcc -static -o xx xx.c
/tmp 106 > ./xx
Hello, world
/tmp 107 > ux
HP-UX 11.11/64 U 9000/800/rp3410/64 PA8800/800(2) pa-2.0 4094 Mb
/tmp 108 >
NFS from 11.00
/hpux1111/tmp 102 > ./xx
Hello, world
/hpux1111/tmp 103 > ux
HP-UX 11.00/64 U 9000/800/L1000-44/64 PA8500/440 pa-2.0 512 Mb
/hpux1111/tmp 104 >
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 10:23 PM
тАО05-02-2006 10:23 PM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
I can compile a PA-RISC2.0 binary on the 11.11 box and run it on the 11.00 box happily, but that binary doesn't use any "special" libraries. It is in fact a simple "hello world" application. I just wanted to see if PA-RISC2.0 code (in general) will run on a 11.00 box.
My "proper" code is built in a complicated build environment and to replicate that on the 11.00 box would be a nightmare. (hence the unsupported backwards porting problem). I am just investigating whether the code would ever run successfully on an 11.00 box before investing too much effort in providing an 11.00 build environment.
PS. I've tried -mpa-risc-1-1 as well, and as procura says, I think it depends on which libraries you are linking too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2006 10:36 PM
тАО05-07-2006 10:36 PM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld flags... files...
Any clues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2006 11:05 PM
тАО05-07-2006 11:05 PM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
Can you check for the existance of /usr/local/pa20_64/bin/ld ?
Maybe it is there as ld.exe
In that case, you can blame me.
Enjoy, Have FUN! H.merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 12:55 AM
тАО05-08-2006 12:55 AM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
I now have to work out why some pstat calls are failing with unknown `struct __psdev'.
Ho hum, such is the developer's lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 03:48 AM
тАО05-08-2006 03:48 AM
Re: HP-UX 11.11 compiled binaries running on HP-UX 11.00
/usr/ccs/bin/ld: Invalid loader fixup in text space needed in output file for symbol "__gxx_personality_sj0" in input file "/usr/local/pa20_32/lib/libstdc++.a(ios_init.o)"
collect2: ld returned 1 exit status
- Tags:
- unsat