LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   driver.c to driver.o (https://www.linuxquestions.org/questions/linux-hardware-18/driver-c-to-driver-o-19728/)

c0c0deuz 04-29-2002 05:41 AM

driver.c to driver.o
 
if i have a driver for my nic that is a .c
How to i convert to .o?
Or how can i install a .c driver?

acid_kewpie 04-29-2002 07:05 AM

erm , well to convert a c source file to an object file you'd basically use gcc -c file.c. but i get the impression that's not really what you want to do... surely there's some documentation with this mystery driver???

DMR 04-29-2002 08:55 PM

The .c file is the source file; you need to compile it in order to get the usable .o module. The gcc acid_kewpie mentioned is the compiler, but you should read the instructions for compiling and installing the driver, since it isn't going to be as straight-forward as the example acid gave.

c0c0deuz 04-30-2002 04:41 AM

Thanks!


All times are GMT -5. The time now is 07:54 PM.