To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1789
1788  |  1790
Subject: 
Re: Library use in LegOS
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 26 Mar 2001 00:41:43 GMT
Viewed: 
1253 times
  
Jakob "Fepp" Engblom <fepp@ieee.org> wrote in message
news:GAr7Gr.2v3@lugnet.com...
Hi!

Another technical question about LegOS: how are libraries like float • handled
today?  Is there one copy linked into LegOS, or is each downloaded program
equipped with its own copy?

Each program gets it's own copy

If I would use a different compiler, with a different set of libraries for
the program and the kernel, is there the potential for namn clashes?

Hmmmm. Not sure. Wish I knew more about compiler internals...

How much of the LegOS-gcc standard libraires come from gcc and how much • have
been hacked specifically for legos?

It's all custom written - doesn't use the standard gcc libraries at all. In
fact when building the cross compiler, you have to tell it to forget about
the standard libraries.

HTH

ROSCO



Message has 1 Reply:
  Re: Library use in LegOS
 
(...) OK. How are the calls to the kernel resolved? By the makelx program, or by some magical stuff in the linking. I can imagine compiling the kernel, getting a symbol table out, and then when compiling user programs, you use a linker DEFINE or (...) (23 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Library use in LegOS
 
Hi! Another technical question about LegOS: how are libraries like float handled today? Is there one copy linked into LegOS, or is each downloaded program equipped with its own copy? If I would use a different compiler, with a different set of (...) (23 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)

5 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR