It’s a linker setting:
-Wl,-eentry
the -Wl,...
thing passes arguments to the linker, and the linker takes a -e
argument to set the entry function
More Related Contents:
- What are the valid signatures for C’s main() function?
- int main() vs void main() in C [duplicate]
- Is main() really start of a C++ program?
- Is char *envp[] as a third argument to main() portable
- Difference between int main() and int main(void)?
- Avoiding the main (entry point) in a C program
- Variable redeclaration in c in loop and outside loop?
- How to generate a random integer number from within a range
- Passing an array as an argument to a function in C
- Set variable text column width in printf
- Why do C compilers prepend underscores to external names?
- Update (int) variable in C inside a function [duplicate]
- How to overcome Stack Size issue with Visual Studio (running C codes with big array)
- How do I share variables between different .c files? [duplicate]
- isalpha() giving an assertion
- Creating static Mac OS X C build
- How do you implement a class in C? [closed]
- What happens with an extern inline function?
- Getting the size of a malloc only with the returned pointer
- Difference between r+ and w+ in fopen()
- Struct Inheritance in C
- How to buffer stdout in memory and write it from a dedicated thread
- Is it possible to access/update the child thread’s resource from parent thread?
- Calculate Length of Array in C by Using Function
- size of struct in C [duplicate]
- How to link to a different libc file?
- Copying content from a hidden or clipped window in XP?
- C11 in GCC?
- Can a “container_of” macro ever be strictly-conforming?
- literal constant vs variable in math library