I have a SPARC server with Solaris SPARC 10 OS installed
I am trying to compile source code from VLC media player and PHP 7 tarballs
However the stumbling block I encounter is that when I type in ./configure into my PUTTY terminal the GCC compiler tells me halfway through configuration that it needs C99 compiler.
I know that this statement enables the c99 compiler
but by doing this I switch off the c11 compiler and so I cannot still complete a full configuration.
How do I switch on both C11 and C99 compilers and/or can I type in a command that will switch from one compiler to another whilst in the configuration process, as and when the gcc compiler needs to?
I thankyou for any feedback given
regards
Last edited by Neo; 05-11-2019 at 06:26 AM..
Reason: Added a code and icode tag as an example
Couple points - Solaris 10 first came out before the C11 standards -- in January 2005. You may be getting the error not from the compiler, but from the package configure information, which expects C11 or whatever. Also most Solaris 10 boxes had /usr/bin/gcc as a symlink.
I have g++-4.6 and g++-4.8.2 installed on my system and want to build a suite of programs using each one.
I am thinking putting the option on what to build by having a different target, one for g++-4.6 and another target for g++-4.8.2.
What do you think? (1 Reply)
Hello
I have a questions and m stuck on it.
Theoritcally the phases of compiler.
1. Lexical analyis -- genrates tokes
NOW MY QUESTION IS: where i can see these token if i make a simple C program.
Please guys tell me step to see it. and other phases too.
your help will be appreciated... (1 Reply)
i have windows 7 64bit, and i want to program C in it, i have the eclipse for C, but it wont work because i have no C compilers , where do i get a C compiler, so eclipse will work?
I usually transfer to a unix server and use a command
gcc -Wall -g -o ___ ___
where can i get the gcc C... (5 Replies)
Hello Gurus,
i am ok with the concepts of c language but i would like to know
more about the internals of c with respect to the compilers
what happens when we say
gcc filename.c
the a.out will get created(what actaully compiler does to the code inaddition to generating object code)
... (5 Replies)
Hi,
While trying to configure Apache Web Server on P630 Server i am getting the below message
"Creating Makefile in src
+ configured for AIX 5.2 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated"
when i did a "lslpp -l... (2 Replies)