Why do programs always compile to a.out? why not p.out or c.out or g.prog?2019 Community Moderator ElectionWhy does FreeBSD use the GPL-licensed GCC?Is there any pattern to specify target triples in GCC?Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')Why did “argument can be squished against option” prevail over “argument is always separate”?Compile mex files for spm12 in Matlab r2012a student versionDoes make sense using exotic bootstrap in GCC?Find out glibc compilation optionsHow to handle error compiling GCC 4.7.0 using GCC 6.2.1How to change the link of CC in CentosWhen (and from which places) does the `-h` (help) command-line option come from?
Exit shell with shortcut (not typing exit) that closes session properly
Exposing a company lying about themselves in a tightly knit industry: Is my career at risk on the long run?
Asserting that Atheism and Theism are both faith based positions
label a part of commutative diagram
What is the reasoning behind standardization (dividing by standard deviation)?
How do researchers send unsolicited emails asking for feedback on their works?
Is there any common country to visit for uk and schengen visa?
Do I need to convey a moral for each of my blog post?
Jem'Hadar, something strange about their life expectancy
Does the Shadow Magic sorcerer's Eyes of the Dark feature work on all Darkness spells or just his/her own?
What will the Frenchman say?
is this saw blade faulty?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
How can an organ that provides biological immortality be unable to regenerate?
Can other pieces capture a threatening piece and prevent a checkmate?
Is xar preinstalled on macOS?
Should a narrator ever describe things based on a characters view instead of fact?
Air travel with refrigerated insulin
Recursively updating the MLE as new observations stream in
How to test the sharpness of a knife?
Weird lines in Microsoft Word
Why are there no stars visible in cislunar space?
How to balance a monster modification (zombie)?
Determine voltage drop over 10G resistors with cheap multimeter
Why do programs always compile to a.out? why not p.out or c.out or g.prog?
2019 Community Moderator ElectionWhy does FreeBSD use the GPL-licensed GCC?Is there any pattern to specify target triples in GCC?Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')Why did “argument can be squished against option” prevail over “argument is always separate”?Compile mex files for spm12 in Matlab r2012a student versionDoes make sense using exotic bootstrap in GCC?Find out glibc compilation optionsHow to handle error compiling GCC 4.7.0 using GCC 6.2.1How to change the link of CC in CentosWhen (and from which places) does the `-h` (help) command-line option come from?
Historically speaking I know when I run the cc
command or gcc
my output generally always compiles to a.out
unless I have a make file or use a particular flag on the compiler. But why a.out
? Why not c.out
or c.run
or any myriad of a million possibilities?
compiling history
add a comment |
Historically speaking I know when I run the cc
command or gcc
my output generally always compiles to a.out
unless I have a make file or use a particular flag on the compiler. But why a.out
? Why not c.out
or c.run
or any myriad of a million possibilities?
compiling history
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
@John Yeah ithat definitely helps explain whya.out
but even when we were compiling in assembler, I'm not sure that a.out made sense.a.run
sure ora.exe
(I know a windows/dos reference) because that seems to make more sense thana.out
, it's not really output it's an executable application.
– Mark D
Oct 14 '16 at 14:41
add a comment |
Historically speaking I know when I run the cc
command or gcc
my output generally always compiles to a.out
unless I have a make file or use a particular flag on the compiler. But why a.out
? Why not c.out
or c.run
or any myriad of a million possibilities?
compiling history
Historically speaking I know when I run the cc
command or gcc
my output generally always compiles to a.out
unless I have a make file or use a particular flag on the compiler. But why a.out
? Why not c.out
or c.run
or any myriad of a million possibilities?
compiling history
compiling history
asked Oct 14 '16 at 14:33
Mark DMark D
6102823
6102823
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
@John Yeah ithat definitely helps explain whya.out
but even when we were compiling in assembler, I'm not sure that a.out made sense.a.run
sure ora.exe
(I know a windows/dos reference) because that seems to make more sense thana.out
, it's not really output it's an executable application.
– Mark D
Oct 14 '16 at 14:41
add a comment |
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
@John Yeah ithat definitely helps explain whya.out
but even when we were compiling in assembler, I'm not sure that a.out made sense.a.run
sure ora.exe
(I know a windows/dos reference) because that seems to make more sense thana.out
, it's not really output it's an executable application.
– Mark D
Oct 14 '16 at 14:41
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
@John Yeah ithat definitely helps explain why
a.out
but even when we were compiling in assembler, I'm not sure that a.out made sense. a.run
sure or a.exe
(I know a windows/dos reference) because that seems to make more sense than a.out
, it's not really output it's an executable application.– Mark D
Oct 14 '16 at 14:41
@John Yeah ithat definitely helps explain why
a.out
but even when we were compiling in assembler, I'm not sure that a.out made sense. a.run
sure or a.exe
(I know a windows/dos reference) because that seems to make more sense than a.out
, it's not really output it's an executable application.– Mark D
Oct 14 '16 at 14:41
add a comment |
1 Answer
1
active
oldest
votes
It is a historical artefact, so in other words a legacy throwback. Historically a.out
stands for "assembler output".
a.out
is now only the name of the file but before it was also the file format of the executable.
The a.out
executable format is nowadays uncommonly supported. The ELF format has wider use, but we still keep the old name for the default output of the C compiler.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f316425%2fwhy-do-programs-always-compile-to-a-out-why-not-p-out-or-c-out-or-g-prog%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is a historical artefact, so in other words a legacy throwback. Historically a.out
stands for "assembler output".
a.out
is now only the name of the file but before it was also the file format of the executable.
The a.out
executable format is nowadays uncommonly supported. The ELF format has wider use, but we still keep the old name for the default output of the C compiler.
add a comment |
It is a historical artefact, so in other words a legacy throwback. Historically a.out
stands for "assembler output".
a.out
is now only the name of the file but before it was also the file format of the executable.
The a.out
executable format is nowadays uncommonly supported. The ELF format has wider use, but we still keep the old name for the default output of the C compiler.
add a comment |
It is a historical artefact, so in other words a legacy throwback. Historically a.out
stands for "assembler output".
a.out
is now only the name of the file but before it was also the file format of the executable.
The a.out
executable format is nowadays uncommonly supported. The ELF format has wider use, but we still keep the old name for the default output of the C compiler.
It is a historical artefact, so in other words a legacy throwback. Historically a.out
stands for "assembler output".
a.out
is now only the name of the file but before it was also the file format of the executable.
The a.out
executable format is nowadays uncommonly supported. The ELF format has wider use, but we still keep the old name for the default output of the C compiler.
edited 13 hours ago
Kusalananda
136k17257425
136k17257425
answered Oct 14 '16 at 14:45
A.MeauA.Meau
1564
1564
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f316425%2fwhy-do-programs-always-compile-to-a-out-why-not-p-out-or-c-out-or-g-prog%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of stackoverflow.com/questions/1218262/…
– John
Oct 14 '16 at 14:36
@John Yeah ithat definitely helps explain why
a.out
but even when we were compiling in assembler, I'm not sure that a.out made sense.a.run
sure ora.exe
(I know a windows/dos reference) because that seems to make more sense thana.out
, it's not really output it's an executable application.– Mark D
Oct 14 '16 at 14:41