This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking Libraries?


Kai Ruottu wrote:

Looks like everything is in libc, so I put that one in.

No! Only the "board-independent" functions are there. The "board-dependent" aka HW-dependent functions are in their own "glue libraries". There are some supported boards with their glue libraries in newlib.

Maybe you have got the usual RTFM errors :) For instance never seeing the provided "Getting Started" manual from CodeSourcery :( (Downloadable from the URL you gave)

On page 51 it lists one possible supported board with cf5275 :

6.6.22. m5275evb Eval

• Processor name: 5275
• Processor options: -mcpu=5275
• Memory regions: ram, rom, rambar
• Other regions: ipsbar

Profile & Hosting  Linker Script           Reset name
RAM Hosted         m5275evb-ram-hosted.ld  __cs3_reset_m5275evb
RAM Unhosted       m5275evb-ram.ld         __cs3_reset_m5275evb
ROM Hosted         m5275evb-rom-hosted.ld  __cs3_reset_m5275evb
ROM Unhosted       m5275evb-rom.ld         __cs3_reset_m5275evb

You would get quite a lot know-how more if taking time and
trying to understand the 78 pages in this manual...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]