- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ansic compiler isolation - can't find crt0.o
Operating System - HP-UX
1753964
Members
7106
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-13-2001 08:51 AM
тАО09-13-2001 08:51 AM
Ansic compiler isolation - can't find crt0.o
I'm trying to isolate the 11.01.07 ansic compiler so multiple users can run it from one location. When calling "cc" to link, ld returns the error "ls: Can't open /opt/langtools/lib/crt0.o". This will be true for a user's machine as they won't have the compiler installed locally. I tried to put the actual path to the isolated copy of crt0.o on the command line but still get the same error. Almost as if "ld" is hard-coded to only use /opt/langtools/lib/crt0.o when using "cc" as a front-end.
Is there any way to get an isolated compiler to work on HP-UX or another way to force ld to use the crt0.o file I want it to use?
Here's my current command line(slightly edited for brevity which will no doubt look weird pasted into this tiny window):
NLSPATH=/area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/../lib/nls/msg/C/%N.cat /area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/cc -t p,/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/lib/cpp.ansi -t c,/area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/../lbin/ccom -t l,/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld /area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/../lib/crt0.o -O -lBSD -lpthread -Wl,+b -Wl,/usr/lib -L/area/oss/build/areaoss/export/hp9000_ux_10/usr/lib -L/area/oss/build/areaoss/adks/hp9000_ux_10/IV/gskit3/lib -o audit_test.X /area/oss/build/areaoss/obj/hp9000_ux_10/oss/common/audit/audit_test/audit_test.o -losseal -lpdsvcutl
/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld: Can't open /opt/la
ngtools/lib/crt0.o
/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld: No such file or di
rectory
Is there any way to get an isolated compiler to work on HP-UX or another way to force ld to use the crt0.o file I want it to use?
Here's my current command line(slightly edited for brevity which will no doubt look weird pasted into this tiny window):
NLSPATH=/area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/../lib/nls/msg/C/%N.cat /area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/cc -t p,/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/lib/cpp.ansi -t c,/area/oss/build/areaoss/tools/hp9000_ux_10/compilers/ansic/11.01.07/bin/../lbin/ccom -t l,/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld /area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/../lib/crt0.o -O -lBSD -lpthread -Wl,+b -Wl,/usr/lib -L/area/oss/build/areaoss/export/hp9000_ux_10/usr/lib -L/area/oss/build/areaoss/adks/hp9000_ux_10/IV/gskit3/lib -o audit_test.X /area/oss/build/areaoss/obj/hp9000_ux_10/oss/common/audit/audit_test/audit_test.o -losseal -lpdsvcutl
/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld: Can't open /opt/la
ngtools/lib/crt0.o
/area/oss/build/areaoss/tools/hp9000_ux_10/hpux11/usr/bin/ld: No such file or di
rectory
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 12:49 PM
тАО09-13-2001 12:49 PM
Re: Ansic compiler isolation - can't find crt0.o
Hi Vince,
Take a look at these threads. Might help you.
http://devresource.hp.com/CXX/Forums/cxx-dev/cxx-dev.0011/0201.html
http://devresource.hp.com/CXX/Forums/cxx-dev/cxx-dev.0011/index.html
Hope this helps.
Thanks
Take a look at these threads. Might help you.
http://devresource.hp.com/CXX/Forums/cxx-dev/cxx-dev.0011/0201.html
http://devresource.hp.com/CXX/Forums/cxx-dev/cxx-dev.0011/index.html
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 02:23 PM
тАО09-13-2001 02:23 PM
Re: Ansic compiler isolation - can't find crt0.o
Thanks for the links. This thread seems to imply that you must install the compiler locally on a machine, which kind of screws our master plan to isolate the compilers our customers use. We seem to have
successfully isolated compilers for AIX, Solaris, NT and Linux so I was hoping to get the HP compilers working.
If anyone knows of a way to contact the compiler group to ask this question directly, I'd appreciate hearing it. We have customers that have to use the 11 and 11i compilers on their product and I haven't seen another way to access 2 HP compilers other than our isolated-compiler scheme.
successfully isolated compilers for AIX, Solaris, NT and Linux so I was hoping to get the HP compilers working.
If anyone knows of a way to contact the compiler group to ask this question directly, I'd appreciate hearing it. We have customers that have to use the 11 and 11i compilers on their product and I haven't seen another way to access 2 HP compilers other than our isolated-compiler scheme.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP