LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   No headerfiles in GNU (https://www.linuxquestions.org/questions/programming-9/no-headerfiles-in-gnu-499660/)

gubak 11-08-2006 03:13 AM

No headerfiles in GNU
 
I have developed a small program in C++ on windows machine (the program works) and I want to run this program on linux machine. I've sent the source code to linux machine and tired to linking it with gcc command, but I've got an error. The linker cannot find some of the header files like:
<io.h>
<alloc.h>
<fcntl.h>
<process.h>
<sys\stat.h>

Only the <stdio.h> header file was found.

What should I do now?

Thanks!

exvor 11-08-2006 09:18 AM

Header files are not universal accross such diffrent platforms. This is just a portablility problem. From what i can see the header files your using look like old dos headers. I think they are all covered inside of stdio.h and stdlib.h


All times are GMT -5. The time now is 04:33 AM.