LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-08-2006, 03:13 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 324

Rep: Reputation: 30
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!
 
Old 11-08-2006, 09:18 AM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,488

Rep: Reputation: 67
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Does GNU needs a GNU logo? LXer Syndicated Linux News 0 05-05-2006 11:12 PM
GNU/Linux vs. GNU/OpenSolaris win32sux Linux - Software 5 11-27-2005 10:10 AM
kdelib no headerfiles extracted?!? JZL240I-U Linux - Software 1 09-20-2004 03:08 AM
GNU Pascal calls GNU C chris.hicks Programming 0 11-13-2003 11:18 AM
GNU C calls GNU Pascal? chris.hicks Programming 1 11-13-2003 08:48 AM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration