Hi!!! How do I create a file .ELF? What code should I use, could help me with a simple code or example? I know programming to Windows by important languages but this seems to be more sistematical, and I really don't know how to.
ELF is an exectuable format that is used on most Linux and Solaris OS boxes.
If you have gcc or cc on your unix box, create a simple "hello world" C code file.
Call it myfile.c Use gcc below if you have gcc, otherwise use cc.
The file shows you what type of executable file was created. If you system uses ELF, it will be an ELF file.
I am following the "Compilling and Installing" guide from Apache > HTTP Server > Documentation > Version 2.4 page
The configure running OK:
# export CC="gcc -m64"
# ./configure \
--prefix=/usr/local/apache2/httpd-2.4.20 \
--with-port=80 \
--with-mpm=worker \
--enable-mods-shared=most \... (0 Replies)
Hoping theres something already out there like this.
I have a list of proccesses who's "ps -elf" (field 10) values I need to continuously monitor and if the values of field 10 start to signiciantly increase (double, triple) then do something. The field 10 is the "memory size" field.
(these... (4 Replies)
Hi Anyone,
I have two disks , one is primary and anothe is mirror.
I checked my mirror disk , It was fine.
After that i booted from my primary disk, did some installations regarding kernel patches.
It did not get booted properly. It says
====================
Not a valid... (2 Replies)
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (2 Replies)
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (0 Replies)
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
I have a few questions about elf files and how they are executed.
When gcc compiles a elf file it creates an executable. Is this executable then run directly by the hardware or does the kernel get involved, interpret the elf file and place the asm code directly in memory.
Cheers (0 Replies)
Hello,
This is not exactly relevant to Linux kernel but I'm gonna ask any way.
Is there any way I can modify a 64-bit ELF object file to make it look like 32-bit ELF object file and link it (using `ld`) with 32-bit ELF file?
I tried libelf but was unsuccessful. I had this pretty link... (1 Reply)
Dear group,
I need to load dependent libraries for an application which is in ELF format.please let me know how to parse the ELF file to find dependent libraries.
thnaks in advance,
Ravinder (3 Replies)