GCC problem

terence_at_ms71.url.com.tw
Date: 08/29/04

  • Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"
    Date: 28 Aug 2004 18:41:55 -0700
    
    

    Hi all:

            I want to create a program with gcc. In this program must to include a
            
            header file is called sched.h,and it in the directory
            
            /usr/src/linux-2.6.5-1.358/include/linux.
            
            so,the head of the program is: #include <linux/sched.h>
            
            and,to compile this program, type
            
            $ gcc -c hello.c /usr/src/linux-2.6.5-1.358/include
            
            Could anyone tell me whether the practice above is correct?

            Thanks in advance
              Terence


  • Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"