I have written a c program named xyz.c I able to see the preprocessor out xyz.i by u
I have written a c program named xyz.c
Iam able to see the preprocessor out xyz.i by using the command gcc -E xyz.c>xyz.i Iam also able to see the compiler output xyz.s by using the command gcc -S xyz.c Iam also able to see the Assembler output xyz.o by using the command gcc -c xyz.c I want to see xyz.exe after linking. So what exact command i have to give for linking to see this file |
Are you sure you want to see xyz.exe? The normal output from gcc would be xyz
|
Quote:
if you want a LINUX source code to make a WINDOWS exe then install MinGW on Windows 7 and build a Microsoft exe on windows |
Quote:
If you want the binary to be named "xzy.exe" gcc -o xyz.exe xyz.c If you want to explore the binary, have a look at the objdump and readelf commands after linking. |
All times are GMT -5. The time now is 04:49 AM. |