Re: what's the right way to use custom entry point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Cong Monkey:

>> The easiest way is to link against an existing libc, or at least its
>> startup code.
>
> If I use custom entry point, the argc and argv I get is very strange,
> it's not the same as I get from normally main entry point!

That's expected.  You have to implement your own startup code.  It's
the reason why linking against an existing libc is the easiest
solution.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux