- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compile software
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-21-2008 09:00 PM
02-21-2008 09:00 PM
compile software
I have a software called text2pdf.c
I need to compile it to run on hpux11.23
how do i do that?
Thanks Much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 02:10 AM
02-22-2008 02:10 AM
Re: compile software
You can attempt to use the bundled C compiler or download gcc and try that.
There isn't already a precompiled version of text2pdf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 07:19 AM
02-22-2008 07:19 AM
Re: compile software
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 09:10 AM
02-22-2008 09:10 AM
Re: compile software
http://www.eprg.org/pdfcorner/text2pdf/text2pdf.c
I compiled it using gcc on linux and it works without problems.
gcc for HPUX can be found at:
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD
The programs seems to be simple (from compiler point of view)
You can try cc or aCC to compile if you have.
You may need some hacks in the program.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 09:52 AM
02-22-2008 09:52 AM
Re: compile software
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 10:11 AM
02-22-2008 10:11 AM
Re: compile software
Merijn also graciously provides a binary port of 'gcc':
http://mirrors.develooper.com/hpux/downloads.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 10:29 AM
02-22-2008 10:29 AM
Re: compile software
# swlist -l fileset|grep -i gcc
GNU_C_C++_64.GCC64_4_2_1
Where can i find the compiling instrctions .I have a source to compile using gcc
Thanks Much all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 11:29 AM
02-22-2008 11:29 AM
Re: compile software
> Where can i find the compiling instrctions
At the simplest level you can compile thusly:
Given a source file named file.c :
# gcc -o file file.c
...produces object 'file' from a symbolic 'file.c'. If you omit the '-o file' switch and argument the compiler/linker output will be 'a.out.
More-than-you-want-to-know documentation can be found here:
http://gcc.gnu.org/onlinedocs/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 08:43 PM
02-22-2008 08:43 PM
Re: compile software
go to the directory which contains this file.
then run "gcc -o txt2pdf text2pdf.c"
this will create a file name tex2pdf which you can copy to /usr/bin if you want all users on your system to use this.
the usage of binary will then be:
tex2pdf
Thanks
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2008 10:16 AM
02-23-2008 10:16 AM
Re: compile software
I did use gcc to compile a text2pdf software.But i'm getting error message as below.Did any one see this kind of error ...any idea
Thanks so much for your help
# /opt/hp-gcc64/bin/gcc -o /tmp/file1 /tmp/text.c
In file included from /usr/include/sys/stdpad.h:23,
from /usr/include/sys/sigevent.h:45,
from /opt/hp-gcc64-4.2.1/lib/gcc/hppa64-hp-hpux11.11/4.2.1/incl
ude/sys/time.h:37,
from /usr/include/sys/resource.h:50,
from /usr/include/sys/wait.h:100,
from /opt/hp-gcc64-4.2.1/lib/gcc/hppa64-hp-hpux11.11/4.2.1/incl
ude/stdlib.h:399,
from /tmp/text.c:27:
/usr/include/machine/sys/_types.h:65: error: expected specifier-qualifier-list b
efore '__fpreg'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2008 09:45 PM
02-23-2008 09:45 PM
Re: compile software
>/usr/include/machine/sys/_types.h:65: error: expected specifier-qualifier-list before '__fpreg'
__fpreg is an IPF only data type. It shouldn't be on PA. You may have used the wrong define, -D__ia64.