+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 3 of 5

Thread: C compiling on Unix

  1. #1
    kamshj
    Guest

    C compiling on Unix

    300.000 Free softwares download here
    Hi



    I'm trying to compile a C program on Unix, but when I run in shell the makefile (command make) it gives these errors:

    stdio.h: No such file or directory

    stdlib.h: No such file or directory

    math.h: No such file or directory

    time.h: No such file or directory

    X11/Xlib.h: No such file or directory

    X11/Xutil.h: No such file or directory



    In program's Readme file it says just to run the makefile and it will compile.



    Is it my host missing some files or something I do wrong?



    Thanks for advising!
    More Information:
    1. Comeau C/C++ · Comeau Computing, Yes, Yes, Yes, Proprietary ? CoSy compiler development system, ACE Associated Compiler Experts, Yes, Yes, No, Proprietary, No
    2. This documentation is mainly focused around the process of compiling and configuring PHP
    3. Rapid-Q : Rapid-Q is a free IDE and BASIC op-code compiler system for Win32, Linux, Unix
    4. This small Linux and Windows C compiler generates optimized x86 native binaries
    5. Dev86 / BCC : x86 C/Assembler development tools (C compiler, assembler, linker)
    6. 8 posts - 2 authors - Last post: Mar 27, 2003I'm student and i'm going to use C next year and i would like to use "CC C_source

  2. #2
    plh8668
    Guest

    Without knowing more, two issues come to mind.



    Make sure the paths in the makefile are correct and that you have enough authority on the computer to compile programs. Remember, Linux imposes roles on users and you may need to be root to make this work. And, not all distros use the same path scheme.
    More Information:
    1. The following is the summary of the changes for data size neutrality , which have been incorporated into the Single UNIX Specification , Version 2
    2. File Format: PDF/Adobe Acrobat - Quick ViewCompiling and Running a C Program in Unix
    3. Originally named the GNU C Compiler, because it only handled the C programming language, GCC 1
    4. configure: error: installation or configuration problem: C compiler cannot create executables
    5. It purportedly compiles, assembles and links several times faster than GCC
    6. The central fact of the Unix programming experience has always been the stability of the C language and the handful of service interfaces that always
    7. c" for the compiler to recognise it as a C source file
    8. There are several ways to install PHP for the Unix platform, either with a compile and configure process, or through various pre-packaged methods

  3. #3
    dngthanh
    Guest

    siraxi, you probably don't have the files on your computer (they are usually located in /usr/include).

    Read here for details: http://www.linux.com/howtos/Glibc2-HOWTO.shtml
    More Information:
    1. You need GNU project C and C++ compiler for compiling C program and creating an executable file
    2. You can go for the 3-minute installation process using the APACI process described
    3. This means that once you write your C program, you must run it through a C compiler to turn your program
    4. Can someone help me and I'm not sure how to fix this
    5. In my school i'll be working with the "regular" (= non-MacOS X) Unix and i'll compile with it

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Favorite Unix Hosts
    Do any of you guys have a favorite UNIX Host?
  2. C99 ERROR (Unix and C)
    I'm not sure which build option will help me solve this problem. Initializations in for loops causes this error when I try to run a c program on my...
  3. Help with compiling VB6
    I have Visual Studio.NET and I need to compile a vb6 script. I get errors when going to upgrade the code to vb.net. Is there any way to...
  4. Compiling and Running from the command prompt
    I spend all my time in IDEs, so I've actually forgotten how to compile from the command prompt. I have the JDK properly installed, so how exactly do...
  5. Preview site on Unix browser from PC
    I would like to find out if my site works on Unix machine browsers. Does any one know of a way to do this from my PC? I apologize is this has been...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish