On Don, 27 Mai 1999 Basham, Richard R wrote:

>I have tried to link libgcc to my real time module but I get this error
message >during the process.
>
>gcc: -llibgcc: linker input file unused since linking not done

You have to specify -lgcc !

>This makes sense because the module is only an object file.

No, I guess it make sense because you tried something like
  gcc -c rtprocess.c -o rtprocess.o -lgcc
Think about the meaning of that command for a while - esp. the "-c".

>I am guessing that it would have to be linked to libgcc at the time
>the module is inserted into the kernel.

No!

>I am also starting to wonder if this is one of those Linux user space
>capabilities that can not be used in the kernel.

What - linking object files ? Yes, ld has to do that in user space :-)

>Can anyone help?

You better read the manual:
  ld -r ... !!!

-- Jochen
  Heinrich-Heine-Universität Düsseldorf     [EMAIL PROTECTED]
  Institut für Physikalische Chemie I          phone ++49-211-8113681
  Universitätsstr. 26.43.02.29                 fax   ++49-211-8115195
  40225 Düsseldorf, Germany  www-public.rz.uni-duesseldorf.de/~jochen
--- [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