[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Assembler -to- Binary vs. C -to- Binary
- From: <shyamk eth net>
- To: <guinness-list redhat com>
- Subject: Assembler -to- Binary vs. C -to- Binary
- Date: Sat, 6 Oct 2001 22:56:31 +0530
I compiled the same set of instructions :
1. Using C
2. Using Assembly
into Binary .
I issued the file command to show the type of the resulting files (assembler -
binary and C - Binary )
Both showed different results :
1. sangharsh.cexe : ELF 32-bit LSB Executable , Intel 80386 , version 1 ,
dynamically linked (uses shared libs) , stripped
2.sangharsh.assexe : ELF 32-bit LSB re-locatable , Intel 80386 version1 , not
stripped.
I can not run 2 ie : the binary I made out of the assembler code (OK chmod +x
filename was done) .They say that they can not execute the binary !
Could somebody please explain what all this means ?
Thanks in advance ....
(shyamk@eth.net)
Shyam
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]