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?










1















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?










share|improve this question






















  • 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















1















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?










share|improve this question






















  • 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













1












1








1








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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

















  • 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
















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










1 Answer
1






active

oldest

votes


















6














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.






share|improve this answer
























    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
    );



    );













    draft saved

    draft discarded


















    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









    6














    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.






    share|improve this answer





























      6














      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.






      share|improve this answer



























        6












        6








        6







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 13 hours ago









        Kusalananda

        136k17257425




        136k17257425










        answered Oct 14 '16 at 14:45









        A.MeauA.Meau

        1564




        1564



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.