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: Cross compiler build


arpit jain wrote:

> I have build gcc-3.x cross compiler (for ADA language) for some
> embedded target.But it is asking for some runtime library files when
> running the binary.
>
> I think it needs some target specific files.I have not build newlib
> package as I think it is runtime library for C language only.

The C runtime library is usually the interface to the OS kernel: in general all code will expect a C runtime library is available. I think you will need to build newlib or some other C library and I think the Ada runtime does contain some C code.

As an aside you could look into RTEMS: it's an OS for embedded systems with good Ada support.

    http://www.rtems.com/

There are sketch build instructions for RTEMS and Ada here:

    http://www.rtems.com/wiki/index.php/RTEMSAda

Rup.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


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