07-15-2005
Unable to make a debuggable exe in HP 11i
Hi Guys,
I need a help from you all. Basically I am working on 64 HP-UX 11i. I am building an exe from some 2gb of C codes. Now my problem is that I am unable to make the exe a debuggable one. So whenever I remove the -s fla from the make file, during building, the error message "Out of memory"
comes . On the other hand I can make a non debuggable exe, but the exe dumps core. So please help me guys.
Thanking you in advance.
Hrishiraj Bhattacharjee.
10 More Discussions You Might Find Interesting
1. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
2. UNIX for Dummies Questions & Answers
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
3. HP-UX
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
4. HP-UX
Hi,
could somebody confirm that HP 11i 64 is a 64 bits system ?
Thank you (1 Reply)
Discussion started by: aribault
1 Replies
5. HP-UX
Hey,
i want install HP UX 11i on HP C8000. When i start the C8000 i get a prompt. On this Prompt i write
BOot P1
P1 is my DVD-ROM (IDE). I get the Message "ERROR: Not a boot path". When i write SEArch the Prompt said:
P0 scsiA.6 HP73.4MAT3073NP
P1 ide.1 ... (2 Replies)
Discussion started by: numx
2 Replies
6. UNIX for Advanced & Expert Users
Hi all,
If any of DBA/build experts can help me on solving this issue, it would be of great help:
Recently Oracle was upgraded from 9.2.0.6 to 9.2.0.8 version, after this our C/ProC build is is erroring out by giving the following error :
860:/usr/lib/pa20_64/dld.sl: Unable to find library... (1 Reply)
Discussion started by: shihabvk
1 Replies
7. Shell Programming and Scripting
Hello everybody,
I'm unable to make my shell script an executable file.
The details are as follows:
PATH includes my $HOME/bin i.e. /rchome/rc1/bin
HOME directory is /rchome/rc1
script name is prep_mig.sh permissions set are 755
It's executing if I give below command
sh prep_mig.sh
but... (4 Replies)
Discussion started by: jitu.keshwani
4 Replies
8. UNIX for Dummies Questions & Answers
Dear all
I am trying to install quantum espresso. When I implement the necessary commands (like configure and make), I get the following error:
/usr/bin/ld: warning: libgfortran.so.1, needed by/usr/lib64/openmpi/1.2.4-gcc/libmpi_f90.so, may conflict with libgfortran.so.3
Can anyone suggest... (2 Replies)
Discussion started by: chevskan
2 Replies
9. HP-UX
I have to access to hp integrity bl870c server blade and i have no hp-ux 11i v2 or 11i v3 DVD's where can i get a DVD or download it . as i have no direct contact with vendor .
thanks (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
10. UNIX for Beginners Questions & Answers
Dear all,
I download a .exe file in my current folder called: ukbmd5.exe. I was told to run the command below: ukbmd5 ukb25278.enc to verify the integrity of the files that you have downloaded and the program ukbmd5 has been made available to assist with decrpying ukb25278.enc.
while when I run... (1 Reply)
Discussion started by: forevertl
1 Replies
LEARN ABOUT PHP
bcompiler_write_exe_footer
BCOMPILER_WRITE_EXE_FOOTER(3) 1 BCOMPILER_WRITE_EXE_FOOTER(3)
bcompiler_write_exe_footer - Writes the start pos, and sig to the end of a exe type file
SYNOPSIS
bool bcompiler_write_exe_footer (resource $filehandle, int $startpos)
DESCRIPTION
An EXE (or self executable) file consists of 3 parts:
o The
stub (executable code, e.g. a compiled C program) that loads PHP interpreter, bcompiler extension, stored Bytecodes and initiates
a call for the specified function (e.g. main) or class method (e.g. main::main)
oThe Bytecodes (uncompressed only for the moment)
oThe bcompiler EXE footer
To obtain a suitable stub you can compile php_embed-based stub phpe.c located in the examples/embed directory on bcompiler's CVS.
PARAMETERS
o $filehandle
- A file handle as returned by fopen(3).
o $startpos
- The file position at which the Bytecodes start, and can be obtained using ftell(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
bcompiler_write_exe_footer(3) example
<?php
/* creating the output file (example.exe) */
$fh = fopen("example.exe", "w");
/* 1) writing a stub (phpe.exe) */
$size = filesize("phpe.exe");
$fr = fopen("phpe.exe", "r");
fwrite($fh, fread($fr, $size), $size);
$startpos = ftell($fh);
/* 2) writing bytecodes */
bcompiler_write_header($fh);
bcompiler_write_class($fh, "myclass");
bcompiler_write_function($fh, "main");
bcompiler_write_footer($fh);
/* 3) writing EXE footer */
bcompiler_write_exe_footer($fh, $startpos);
/* closing the output file */
fclose($fh);
?>
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
SEE ALSO
bcompiler_write_header(3), bcompiler_write_class(3), bcompiler_write_footer(3).
PHP Documentation Group BCOMPILER_WRITE_EXE_FOOTER(3)