Originally posted by shmerl
View Post
Announcement
Collapse
No announcement yet.
Linux Preparing To Finally Remove Support For The a.out Format
Collapse
X
-
- Likes 5
-
Originally posted by caligula View PostI guess this is different, but many C tutorials introduce the concept of 'a.out' executable to save some typing when compiling stuff:
$ echo "#include..." > hello.c
$ gcc hello.c
$ ./a.out
Imagine the horror if you had to write this instead:
$ gcc hello.c -o hello
$ ./hello
Requires 9 characters more.
- Likes 11
Leave a comment:
-
Originally posted by caligula View PostI guess this is different, but many C tutorials introduce the concept of 'a.out' executable to save some typing when compiling stuff:
$ echo "#include..." > hello.c
$ gcc hello.c
$ ./a.out
Imagine the horror if you had to write this instead:
$ gcc hello.c -o hello
$ ./hello
Requires 9 characters more.
- Likes 1
Leave a comment:
-
Originally posted by caligula View PostI guess this is different, but many C tutorials introduce the concept of 'a.out' executable to save some typing when compiling stuff:
$ echo "#include..." > hello.c
$ gcc hello.c
$ ./a.out
Imagine the horror if you had to write this instead:
$ gcc hello.c -o hello
$ ./hello
Requires 9 characters more.
- Likes 14
Leave a comment:
-
Wth, the first program I wrote in C for Linux produced an a.out. You're telling me that won't work anymore? One can't write a first program, you know? Not to mention I barely remember a shred of C these days.
Farewell a.out, it's been nice knowing you.
- Likes 2
Leave a comment:
-
How will gcc output look without specifying the linked binary?
- Likes 2
Leave a comment:
-
I guess this is different, but many C tutorials introduce the concept of 'a.out' executable to save some typing when compiling stuff:
$ echo "#include..." > hello.c
$ gcc hello.c
$ ./a.out
Imagine the horror if you had to write this instead:
$ gcc hello.c -o hello
$ ./hello
Requires 9 characters more.
- Likes 1
Leave a comment:
Leave a comment: