lkml.org 
[lkml]   [1999]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectcompiling diferenc c files as one object., and more.
Date


Hi!

This is probably more of a gcc question than a linux kernel one (sorry
for that).
If one would use 2 or more C files to create a module, how would he
link it afterwards?
I've tried using ld as
ld -o output.o -r objFile1.o objFile2.o objFile3.o (...)
but it doesn't quite do the job... as the kernel symbols are lost then
(such as memcpy).


Also, I believe that starting with the pentium-pro the processor has
the ability to perform task switching by hardware, witch is probably faster
than by software. As anyone tried this (if it's possible)?

And a question about the internal apic (starting from the pentium, but
disable on most pentium MB. Always enable on p6 boards). Is it use by the
kernel (I think not)?

Thx for any help.

-------------------- Jose Miguel Pereira Tavares --------------------

Talking much about oneself can also be a means to conceal oneself.
-- Friedrich Nietzsche

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:2.867 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site