Re: unreferenced main in embedded source code

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

 



On 04/20/2011 10:38 AM, domenico margiotta wrote:
codewarrior compiler don't detect every warning and so the client said
to use a gcc -Wall and lint command.

-Wall, i reached the error for "undefined reference to `main' ".

try gcc -Wall -c you_file.c
I bet you don't really care about the output and just care about
gcc's warnings. If I bet wrong, might be the wrong 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