[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building RTEMS
- Date: Thu, 18 Feb 1999 13:42:51 -0600 (CST)
- From: joel at OARcorp.com (joel at OARcorp.com)
- Subject: Building RTEMS
On Wed, 17 Feb 1999, Douglas Atique wrote:
> Now I discovered more information. The missing symbols I am getting while
> linking (_read_r, _lseek_r, etc.) are documented in Cygnus' crossgcc
> FAQ-0.8.2 as coming from libgloss (in newlib) and being located in some
> other library. When I make the cross tools with ./bit sparc is libgloss
> built? Which library does it become? What library should I specify with -l
> in my command line to build a Hello World program that would run on the
> SIS simulator? Would I be able to compile a program, that was written for
> Sparc Solaris, with the cross-compiler and run it on SIS? Why does the
> compilation of RTEMS itself end with an error of these very missing
> symbols? Shouldn't at least this build work without a change?
> Please help.
RTEMS does not use libgloss. It provides all of those in the
librtemsall.a. Please use the vanilla RTEMS application Makefiles like in
hello world until you get one to run. It is unlikely you will invoke the
compiler and linker correctly otherwise. After you see how those rules do
it, then you know how the compiler should be invoked for that BSP.
--joel
Joel Sherrill Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985