GCC problem
terence_at_ms71.url.com.tw
Date: 08/29/04
- Previous message: Basile Starynkevitch [news]: "Re: Can I make this Makefile work?"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Basile Starynkevitch [news]: "Re: Can I make this Makefile work?"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: GCC problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]