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:

> Tks for your advice:)
>
> Another question:
> What's the easy way to self get (int argc, char** argv) for self entry point!

The easiest way is to link against an existing libc, or at least its
startup code.

> I use a not so elegant way like:
> https://gist.github.com/congzhangzh/5141f1c4de4e7ac85d6f8d6a630207e7

If you want to use libstdc++ and the std namespace, you'll need a
fairly complete libc anyway.



[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