- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to compile something file by HP C/aC++ compile...
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
01-03-2009 12:01 AM
01-03-2009 12:01 AM
i have HP C/aC++ compiler evaluation copy, and i am buy the license of this product and i receiving the 16 HEX digit and 26 HEX digit codeword without CD's, that to activate this copy.
but my questions how to compile something file by c++ compiler? that to check if the EVL copy it is activated or no?, because i don't, have any experience on this application.
thanks and best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 01:19 AM
01-03-2009 01:19 AM
Solution#######
#include
int main()
{
printf("Working\n");
return(0);
}
#######
now try tp compile the above file with aCC
do:
aCC test.c -o test
if it does not give any errors and creates a file named test all is OK.
you can now execute test as:
./test
it should print "Working"
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 01:21 AM
01-03-2009 01:21 AM
Re: How to compile something file by HP C/aC++ compiler?
https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1300041
:-)
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 02:06 AM
01-03-2009 02:06 AM
Re: How to compile something file by HP C/aC++ compiler?
this error message it is appeared after execute aCC command,
# more test.c
nclude
int main()
{
printf("Working\n");
return(0);
}
# aCC test.c -o test
Internal Error: Corrupted codeword in file /opt/aCC/newconfig/aCC.cwd.
the last questions
How i can save text file with ASCII code?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 02:19 AM
01-03-2009 02:19 AM
Re: How to compile something file by HP C/aC++ compiler?
BTW, the has just before include is required. The first line should be:
#include
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 02:30 AM
01-03-2009 02:30 AM
Re: How to compile something file by HP C/aC++ compiler?
thanks, but How i can save text file with ASCII code?
because i don't see the ASCII in Encoding option when i save a text file, only ANSI and Unicode and another.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 03:01 AM
01-03-2009 03:01 AM
Re: How to compile something file by HP C/aC++ compiler?
because i don't see the ASCII in Encoding option when i save a text file, only ANSI and Unicode and another.
Which editor are u using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 03:04 AM
01-03-2009 03:04 AM
Re: How to compile something file by HP C/aC++ compiler?
On the prompt do:
echo "your key" > /opt/aCC/newconfig/aCC.cwd
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 03:22 AM
01-03-2009 03:22 AM
Re: How to compile something file by HP C/aC++ compiler?
only i want to copy 26 HEX digit ASCII text file to this directory /opt/aCC/newconfig/aCC.cwd, how i do it that?.
and this the output of this command
echo 123456 > /opt/aCC/newconfig/aCC.cwd
/usr/bin/ksh: /opt/aCC/newconfig/aCC.cwd: cannot create
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2009 04:13 AM
01-03-2009 04:13 AM
Re: How to compile something file by HP C/aC++ compiler?
Use touch to create an empty foo.C file. Then compile that.
>I don't have any experience on this application.
You're using it for a reason, someone should know C++.
>Internal Error: Corrupted codeword in file /opt/aCC/newconfig/aCC.cwd.
You don't have the proper codeword setup yet.
>How I can save text file with ASCII code?
Use vi.
>/usr/bin/ksh: /opt/aCC/newconfig/aCC.cwd: cannot create
You need to be root. The easiest would be to put it in a file then copy it in place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 09:12 AM
01-05-2009 09:12 AM
Re: How to compile something file by HP C/aC++ compiler?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 09:08 PM
01-05-2009 09:08 PM
Re: How to compile something file by HP C/aC++ compiler?
No is still not solve, but i assigned some points, for thread Which asked some questions and received answers to.
but i still don't know how to save text file with ascii code.
thanks and best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 09:30 PM
01-05-2009 09:30 PM
Re: How to compile something file by HP C/aC++ compiler?
> file with ascii code.
I don't mean to be unkind, but if you can't
create a text file, and you can't even _run_
a C compiler, how did you get the job of
installing this thing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 10:02 PM
01-05-2009 10:02 PM
Re: How to compile something file by HP C/aC++ compiler?
i said " i don't know how to create text file with ascii encoding" not i can't create a text file.
and please steven do not chatter excess
If you learn something take about otherwise silent.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 11:09 PM
01-05-2009 11:09 PM
Re: How to compile something file by HP C/aC++ compiler?
Let's just make it simple, create a standard Unix text file. (All text files are ascii by default.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2009 01:32 AM
01-06-2009 01:32 AM
Re: How to compile something file by HP C/aC++ compiler?
1. written in a file on you filesystem
2. In an email
3. written on a piece of paper.
If 1. then just use this command to copy the code word.
cp
If 2 or 3. then
use this command
echo "your codeword here" > /opt/aCC/newconfig/aCC.cwd
-Sri
You need to be root for the above to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2009 01:54 AM
01-06-2009 01:54 AM
Re: How to compile something file by HP C/aC++ compiler?
the form of codeword i have it is number 2.
and i am tried to execute this command before that, but this message is appeared.
echo 9651*** > /opt/aCC/newconfig/aCC.cwd
/usr/bin/ksh: /opt/aCC/newconfig/aCC.cwd: cannot create
may be because the aCC.cwd is a directly.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2009 02:02 AM
01-06-2009 02:02 AM
Re: How to compile something file by HP C/aC++ compiler?
/usr/bin/ksh: /opt/aCC/newconfig/aCC.cwd: cannot create
Are you root?
>may be because the aCC.cwd is a directly.
Directory? Why? Remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2009 02:12 AM
01-06-2009 02:12 AM
Re: How to compile something file by HP C/aC++ compiler?
yes i am remove it and now the c++ is activated
very thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2009 02:57 AM
01-06-2009 02:57 AM