Re: elf working info?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krushnaal,

Your question is really vague and there is no one good answer. The *elf* file is certainly the executable. But other components/files are necessary too. Some of these may include additional shared libraries required to run the elf executable, pics/images your elf executable could access, various configuration files required for proper execution of the application, documentation (may or may not be needed during execution of your application). 

In absence of some of these components, specially shared library files, program may crash in unexpected way after execv() system call.

If you are building from source code, you won't need the source codes or header files once the application is built.

Hope this helps.

--
Thanks,
-John



On 08/24/2009 10:28 PM, krushnaal pai wrote:
> with respect to the very large linux applications available on the net
> 
> when we install on a particular directory,the dir will contain *many
> files and an executable*(elf).
> 
> now tell me, are the *files* required to be on the computer before execv
> is issued against the executable(i mean if those files are not present
> will the kernel deny to execute the elf) or are those files demanded by
> the executable during execution(i.e after doing execv sys call)
> 
> 
> 
> 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux