The shell is expanding the glob before executing the program. You quote the glob not because of GCC, but because of the shell. If you don’t want this behavior then use a shell that does not honor globs.
More Related Contents:
- Hide password input on terminal
- Why does malloc initialize the values to 0 in gcc?
- Where is the header file on Linux? Why can’t I find ? [duplicate]
- Working of fork() in linux gcc [duplicate]
- Where is PATH_MAX defined in Linux?
- Why does the C preprocessor interpret the word “linux” as the constant “1”?
- Merge multiple .so shared libraries
- What is the advantage of GCC’s __builtin_expect in if else statements?
- “undefined reference to `pow'” even with math.h and the library link -lm [duplicate]
- Build .so file from .c file using gcc command line
- How Can I debug a C program on Linux?
- How to print the address of a function?
- How to execute a shell script from C in Linux?
- `bash: ./a.out: No such file or directory` on running executable produced by `ld`
- Linking against older symbol version in a .so file
- How to compile my own glibc C standard library from source and use it?
- Why am I able to perform floating point operations inside a Linux kernel module?
- Disable variable-length automatic arrays in gcc
- How can a shared library (.so) call a function that is implemented in its loader code?
- How to print time difference in accuracy of milliseconds and nanoseconds from C in Linux?
- fd leak, custom Shell
- How can I include a needed C library using GCC?
- calling assembly function from c
- How to set up a cron job to run an executable every hour?
- Executing shell script with system() returns 256. What does that mean?
- Building a shared library using gcc on Linux and MinGW on Windows
- How to work with external libraries when cross compiling?
- Returning struct containing array
- How does GCC behave if passed conflicting compiler flags?
- getrandom syscall in C not found