Originally posted by caligula
View Post
Announcement
Collapse
No announcement yet.
Linux Preparing To Finally Remove Support For The a.out Format
Collapse
X
-
Michael Larabel
https://www.michaellarabel.com/
- 14 likes
-
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.
- 1 like
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.
- 11 likes
Comment
-
Originally posted by shmerl View Post
Makes sense to rename it then for clarity.
- 5 likes
Comment
-
-
Originally posted by shmerl View Post
What kind of scripts rely on a.out? And if some do, they can be rewritten so nothing would rely on it. Good opportunity to fix obsolete stuff.
(For those that have been living under a rock: https://xkcd.com/1172/ )
- 11 likes
Comment
-
Originally posted by ids1024 View PostI wonder where one would even find an old a.out executable, and whether or not it would still work fine on Linux before this.
Comment
Comment