On Fri, 23 Oct 1998, Paul Koning wrote:

> The only time the OS comes in is if you're using shared libraries.
> But if you tell the linker to statically link the relevant libraries,
> you should end up with everything all together, all the references
> resolved.

Paul,

I tried linking string.o with my module:

ld -r string.o rtprocesss.o ...etc

and strtok() and (I think it was) strcpy() would not resolve.

Isn't string.o a static library?  I assumed that, due to conditional
compilation these routines (which are C coded in string.c but ASM coded
elsewhere) were not part of the string.o file.

How can I tell what is shared and what isn't?

thanks

Rich

*------------------------------------------------------------------*
|  INTELLIGENT MACHINES AND MANUFACTURING RESEARCH CENTRE (IMMRC)  |
*------------------------------------------------------------------*
|       Richard Teltz,           | Dept. of Mechanical Engineering,|  
|  principal research engineer,  | McMaster University,            |
|   tel: (905) 525-9140, x27351  | Hamilton, Ontario,              |
|   fax: (905) 572-7944          | Canada,                         |
| email: [EMAIL PROTECTED]  | L8S 4L7                         |
*------------------------------------------------------------------*

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to