Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [elf]

The tag has no usage guidance.

-1
votes
0answers
51 views

We have wine, why there are no any equivalent project on Windows? [closed]

I am curious, we have wine, why there are no any equivalent project on Windows? We have two similar project, but non of them are equivalent to WINE for linux. Cygwin emulate linux PSOIX functions, ...
-1
votes
0answers
35 views

Why can't a statically linked ELF file run on Windows?

If you create an ELF file where all the code needed to execute it is contained within (i.e. nothing is dynamically linked), what is stopping it from running on Windows? The assembly code inside the ...
20
votes
3answers
47k views

How to determine if a linux binary file is 32-bit or 64-bit?

A 32-bit kernel (x86) can only run 32-bit code. A 64-bit kernel (x86_64) can run both 32-bit and 64-bit code. I'd like to know if a machine can run an executable: in other words, I have a binary file ...
0
votes
1answer
76 views

readelf fails in qemu chroot when using absolute path

I'm trying to install java 8 SDK in a qemu emulated chrooted environment and I'm running up against the following error readelf: Error: /proc/self/exe: Failed to read file's magic number Readelf ...
0
votes
2answers
187 views

Why a binary format specification is needed for executable files?

I understand an operating system like Linux or Windows is written in C/C++ and compiled to a given architecture (for example AMD64) to produce a machine code that is suitable for that architecture. ...
1
vote
0answers
130 views

shim a library that has versioned symbols

For a library loaded by a shared object, how do I allow versioned symbols to be resolved by the executable? There is a proprietary library used by many executables on a system which has a bug in one ...