__main undefined symbol

Jeffrey A Law law@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


  In message < 38A07F6F.74D0673B@redcreek.com >you write:

  > You don't need crt.o or any other gcc libs.  Furthermore, you don't need
  > a _main or a __main function. You can specify the entry point in your
  > linker script file.  I understand that board support packages make life
  > easier, but for a custom embedded system you're better off writing your
  > own library.  You can then tell the compiler not to link against the
  > standard libs, write your own linker script, and not worry about
  > _main or crt.o.  Then you'll know exactly what's going on under the
  > hood, and personally, I feel a lot better that way.
No, you don't necessarily have a format where you have linker scripts or
the capabilities provided by linker scripts.

Think about a.out.
jeff


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list