开发者

__do_global_dtors_aux in C

I'm compiling a C program for a MIPS embedded system. GCC keeps stick开发者_如何学编程ing in stuff like __do_global_dtors_aux, frame_dummy, __do_global_ctors_aux. How can I avoid that?

Resolved: I just "fixed" it by passing -nostdlib to gcc. Silly me for forgetting that


It sounds like you're using C++ instead of C. Perhaps you've accidentally capitalized the extension on your files, so they're xxx.C instead of xxx.c? You could also try -x c to get gcc to treat the file as C regardless of extension.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜