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

Thread: C compiling

  1. #1
    juniorls
    Guest

    C compiling

    I recently loaded SuSE on my intel comp.

    I am presently taking a walk down memory lane from my days at UofT.

    I was fiddling round with cc and the gcc compilers.

    I wrote a basic basic basic program .

    I tried to compile it as I remember doing in Uni. The problem is that it can't find the header file that I included in the program (studio.h). The compiler spits out the error message "studio.h: No such file or directory.



    Where is this file located or do I have to load it from elsewhere?



    Thanks.



    PS:I did a search for studio.h and found no references.





    More Information:
    1. Of course you have to compile all the libraries you include with the alchemy compiler, which sometimes works, and sometimes not
    2. This is in reality a separate program (normally called " cpp ", for "C preprocessor"), but it is invoked automatically by the compiler before compilation proper begins
    3. 2 posts - 2 authors - Last post: Dec 22, 2009Sun Studio 11 (C compiling issues) Dec 22, 2009 1:23 PM · Click to email this message
    4. in reply to Compiling C/C++ based Modules under ActiveState using MinGW
    5. The steps in this document show how to create a basic C program by using a text editor and then compile it on the command line
    6. Hwu, Trace selection for compiling large C application programs to microcode, Proceedings of the 21st annual workshop on Microprogramming
    7. Johnson, Compiling C for vectorization, parallelization, and inline expansion, Proceedings of the ACM SIGPLAN 1988 conference on Programming Language design
    8. c but does not invoke the linker; the -c flag stops the process after compilation
    9. For information on using the compiler, see the following sections:

    More:


  2. #2
    snoopychuot
    Guest

    It sounds like you may need to download the GCC library!?
    More Information:
    1. The C++ compiler must know that f(int,char,float) is to be called by a C compiler using the extern "C" construct:
    2. line 4759: undefined symbol: php_mb_oddlen cc: acomp failed for /home/remote/compile/php5
    3. Having covered the basic concepts of C programming, we can now briefly discuss the process of compilation
    4. In some cases, it is not possible to use the scripts supplied by mpich for compiling and linking programs
    5. Last week I found a bug in the FBReader program and I wanted to compile a new executable for my OLPC with my bugfix
    6. To force the compiler to treat all files as C source code

  3. #3
    lisusu
    Guest

    did you use the include "" syntax

    or the include <> syntax...

    remember they have different meaning ...
    More Information:
    1. It may also prove to be more generally helpful in installing/compiling existing C/C++ Python extension without Microsoft Visual C++ compiler
    2. This DllImport attribute is understand by the compiler and told him that the function below is in fact in a DLL whose name is "echo
    3. Meet Luke Hoban, Program Manager on the C# Compiler team
    4. The compiler invocation command performs all necessary steps to compile C or C++ source files, assemble any
    5. (Note that nmake can also be used instead of dmake
    6. Since Comeau C/C++ requires a C compiler, many customers just use the Standard C library from their C compiler
    7. Unlike other approaches, our focus is on data memory organization and input–output bandwidth considerations, which are the typical stumbling block of existing hardware compilation schemes
    8. distcc should always generate the same results as a local build, is simple to install and
    9. Another possibility is to search or post to the Samba

  4. #4
    tomorowpt
    Guest

    if it is C lib. , does it should be <stdio.h> not <studio.h> ?

    More Information:
    1. --with-binutils= directory ': Use the binutils (assembler and linker) in directory , not the ones the C compiler would default to
    2. 5? and link the wxwidgets library and borland library and compile source with those?
    3. This is the GNU C compiler page, from which you can get links to binaries and source code for the GNU C Compiler
    4. If you didn't get your extern "C" right, you'll sometimes get linker errors rather than compiler errors
    5. comC - Compiling a simple program under windows - CodingForums
    6. /c-gcc-compiler-options-for-pointer-arithmetic-warning - CachedC: Compiling GNU Projects on Windows - Stack OverflowI would like to port a few applications that I use on Linux to Windows
    7. Since the 1970s it has become common practice to implement a compiler in the language it compiles, although both Pascal and C have been popular choices

  5. #5
    chinh2008
    Guest

    That's right, I didn't even look at that. Should be



    ie. standard input/output... don't know where you got the U.
    More Information:
    1. 95, optimisation at level 2 (-O2) and higher includes an optimisation which breaks C code that does not adhere to the C standard
    2. I haven't had any luck as it relies on a large configure file
    3. Also, in most C compilers the -l option must follow the name of your source file in the C compiler command line
    4. The simplest way to compile and get to run the compiled binary, do as bellow: gcc hello
    5. This compiler backend takes Perl source and generates C source code corresponding to the internal structures that perl uses to run your program

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Compiling problems
    HI every body: I have fedora 4. I want to run a big application originally designed to run in UNIX. I have runned and compiled a lot of times...
  2. Problems in compiling D-ITG
    Hi all, I have some problems in compiling Distributed Internet Traffic Generator (D-ITG) on an Ubuntu machine. The Generator is free and you can find...
  3. C compiling on Unix
    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...
  4. 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...
  5. Best MB for compiling
    I am working with Altera's Quartus II compiler and Cyclone FPGA chips. Using a Dell 3.2gig P4 with a gig of 400mhz memory, some compiles can still...

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

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