General :: Finding C++ Compiler/getting One?
Sep 28, 2010
I installed the newest version of Fedora last week using virtual box. I plan on doing some C++ programing(in net-beans) for school but u can't find the compiler any where. I assume their would be one installed when i installed fedora. I found a few websites saying i need to use the package manager to install it. I can't find this package manager i have searched for it. I don't want to go download and try to install a compiler if i already have one
View 5 Replies
ADVERTISEMENT
Jan 18, 2010
I am using gNewsense, the current compiler installed is gcc 4.2.I need to install and run gcc 2.95.3. I tried everything to install the gcc 2.95.3 version , but infortunately failed. So I am looking for a linux distribution with gcc 2.95.3 as the complier already installed. Does it exist?
View 5 Replies
View Related
Sep 23, 2010
I am working for a product which was evolved over a decade. There I have some combination of C style coding and C++ coding in same libraries. I am landing on some instances where C style function is expecting forward declarations for some other function for which I can not declare (due to design and architecture). Is there any g++ compiler option that directs the g++ to look whole preprocessed file (because definition is there down in the preprocessed file) than only forward in the preprocessed file. All these years this code is working as we are using CC compiler and that looks entire preprocessed file than only in the forward direction.
<Sample Code
Header1.h file
Function1()
{
[code]....
if I can not include Header2.h first then Header1.h. I have to include Header1.h and Header2.h because on the design hierarchy in this product. Also the function definitions are in header files as they are either template functions or functions expanded through macros.
View 6 Replies
View Related
Dec 14, 2010
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
View 6 Replies
View Related
Oct 25, 2010
Does anyone know where I can dowload a C compiler for Linux?
Running RHAT 5.0 on SunFire X2270
View 2 Replies
View Related
Oct 1, 2010
I need a version of linux (an distrb) with compiler gcc 3.4. This is for academic purposes. Does anyone know of a site where I can download such an iso?? Or alternatively I have a version of Opensuse (10.3) but I am having trouble reverting to the old compiler?
View 2 Replies
View Related
Oct 21, 2010
Is it something like Ms Visual Studio, got Gui interface?
View 7 Replies
View Related
Mar 30, 2011
How to install a c++ compiler?
View 10 Replies
View Related
Jun 19, 2011
I'm a member in your website. I have faced one problem in red hat linux 5.0. Recently I have installed redhat linux 5.0 in my system by vmware software. It installed successfully but i am facing one problem. when i am typing small c language program in vi editor. It will show one error what that means,bash : cc compiler not found.
View 4 Replies
View Related
Mar 12, 2009
I am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
View 5 Replies
View Related
Oct 11, 2010
I've got a problem installing application into my slack, when I was trying to configure the packages (./configure) in order to install them, the system shows me a message in which there was a problem with using gcc libraries.
View 6 Replies
View Related
Feb 10, 2010
I have created a binary executable of a script, compiled using shc on Red Hat. However, when i tried to run the executable on Solaris, it does not work. Are there any other compiler that i can use, so that the binary executable created can be run on both red hat and solaris?
View 4 Replies
View Related
Jan 12, 2011
What is the best commercial C++ compiler on Linux. Best in the sense of runtime performance.
View 3 Replies
View Related
May 30, 2011
I am comiling some programs on Linux using gcc previously compiled using cc compiler on Solaris. Below are some of the confusions:
1. There is -xildoff option in cc which is giving error "language ildoff not recognized". xildoff in cc is for switching off the option of incremental editor ild. Is there anything equivalent on gcc?
2. There is runtime link option in cc as -R but gcc just says "unrecognised option". Does gcc only supports LD_RUN_PATH?
3. There is -Xa option to force cc to chose a particular flavor of c.Its for default c and K&R C. gcc has -std option but not sure which one is equivalent to -Xa in c. It seems -std=c90?
View 2 Replies
View Related
Jan 20, 2010
i am not able to install gfortran compiler. i have
1)gcc-fortran-4.3.3.tar.gz.sig
2) gcc-fortran-4.3.3.tar.gz
i got the public key and verified it using coomand
[Code]....
View 12 Replies
View Related
Mar 3, 2010
Have just installed Red Hat on my HP machine (previously running Windows). Thereafter I've been struggling to install various software like flash, media player etc.While most have been successful with much help from this forum, am stuck with the installation of xine media player. also my 320GB external HDD (in NTFS format) is not being read by the system. I downloaded some ntfs drivers but am getting the same C compiler error.
View 2 Replies
View Related
Apr 6, 2010
I am getting this message: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate. for every compilation that takes longer (ie: linux kernel, kde sources etc.)
I've tried other OS (at that moment I was on Fedora 12, now on Debian; was a Suse also) and it didn't work. I've tried replacing my hard disk, since it needed an upgrade either ways - that didn't work either. I assumed that it's the RAM fault - tested them with memtest and it says they are fine. Does anyone know what else I can do in order to figure out where the problem is?
View 3 Replies
View Related
Nov 27, 2010
first of all, i will be glad if i can get prebuild toolchain for target=arm1176jzf-s on host= sparc-sun-solaris2.10. ( i hav browsed but can't find prebuild one) so, i tried to establish by myself i hav established binutils first, but while trying to configure& build gcc(gcc4.4.0) , i was interrupted with following error.. error message: this error has come while building boot strap gcc for cross complier tools chain
checking build system type... sparc-sun-solaris2.10
checking host system type... arm-unknown-linux-gnu
checking target system
[code].....
View 3 Replies
View Related
Jul 1, 2011
I am trying to compile a program with mpicc. To compile I use:
CC=/usr/bin/mpicc ./configure
However mpicc's default C compiler is gcc 4.4.2 and I need to use 4.0.0 which I have installed in another directory. I do not (nor can get) root privileges so I cannot edit mpicc's default compiler. Is there an option I can set while configuring?
View 2 Replies
View Related
Nov 20, 2010
I am using makefile to complile all C Programming files. But certain files are not getting compiled and hence its object file is not getting generated. This is happening due to files haven't been modified for a long time. It seems that compiler knows that its object file is there hence no need to complie it actually it is not.
View 14 Replies
View Related
Nov 24, 2010
I'm looking to create a server (probably LAMP) i need all my programs to install at one time. SOME of my programs are not in the repos and all of them aren't .deb. Some of them are .rpm. I also can't guarentee internet connection, at least not during install, so no apt-get. on a note about the internet i'll probably be getting clear internet. I also plan to connect to the server from my phone and other computers. I know the server needs a static ip but what other configuration does it (should it) need.
View 11 Replies
View Related
Dec 6, 2010
How to run a program containing lapack subroutines using ifort compiler?
View 1 Replies
View Related
Oct 11, 2010
no acceptable c-compilier found when installing vlc offline. mozzilla can't connect to internet but I can ping my server
View 3 Replies
View Related
Sep 22, 2010
My application is developed using GCC and an binary executable created out of it which initializes successfully. By initialization, I meant all the threads in the application are created and I get the required response from the executable. There was a need to create a .so file out of my application instead of binary executable, as it needs to be integrated with another .so file to create a final patch. So we used -fPIC compiler option and created a .so and also an binary executable. But with -fPIC included, the executable fails to initialize at all. It executes some instructions in the main program, before finally haulting down with a " Program received signal SIGSEGV, Segmentation fault." error. And it always fails at the same faulty address which points to nothing in my application code. What is that -fPIC adds to the code, which makes my code fail with strange behaviour.
View 2 Replies
View Related
Jan 19, 2011
I have a NAS (dlink-320) with a fully working fun_plug (http://wiki.dns323.info/) Linux system.However when I try to install x263 the configuration scripts says it need the math function log2f()But because fun_plug uses uClib instead of glibc and uClib have not yet implemented log2f() function I am trying to compile the glibc instead. I am only interested in the math part of glibc but have not found any documentation to just compile this part so it seems that I have to compile "most" of it. have gli
I have copied glibc-ports-2.9/sysdeps/arm to glibc-2.11.2/sysdeps.and I enter
Code:
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-shared --build=arm-linux
but get the following error message
[code]....
View 2 Replies
View Related
Sep 7, 2010
I need to generate 64-bit executable(utility) using PowerPC-linux cross compiler? i.e. Any options need to pass ppc-gcc other then "-m64". I have written a small test program on 64-bit server and generated 64-bit executable using gcc alone.
Ex:
#
file a.out
a.out: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
#
Actually I want to generate a executable(using PowerPC-linux cross compiler),which will run on 64-bit machines. In my Makefile I am trying to use CC = XXXXX/powerpc-linux/bin/powerpc-linux-gcc -m64 to ppc-linux-gcc,but giving error.
error: -m64 not supported in this configuration
If I remove -m64 its generating 32-bit executable.
View 5 Replies
View Related
Jan 17, 2010
I am running a server which is hosting a site where members can upload videoclips. I noticed that upon upload a thumbnail is not created for the videoclip. I found out that ffmpeg needed to be properly installed and in my case ffmpeg-php as the site runs on php. So far so good. I followed the instructions found somewhere to install ffmpeg-php but stall at the command: dot slash configure && make The error I get is:
checking for egrep... grep -E
checking for a sed that does not truncate output... slash slash bin slash sed
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
I presume it's because gcc is missing. how I can start tackling the problem and ultimately get gcc running so I can install the ffmpeg? I am really sorry I was hoping to elaborate a bit more but I get an error: You are only allowed to post URLs to other sites after you have made 15 posts or more. so I guess I need to wait and describe it differently.
View 4 Replies
View Related
Jun 22, 2011
I have a platform independent compiler. so, i created the common api's and platform api's using my complier. so i have this library files named cmn_api.a & platform_api.a in my auto/linjtag/lib.(they will be created when we run the makefile of the compiler).
The problem is when i'm trying to run the console application of my compiler. i have a menu.c from which i choose different modes and i operated on that.
When i tried to open one of the executable i'm getting this error:
View 4 Replies
View Related
Apr 5, 2011
compiler problem (f77) which arises when I try to execute a bash script ("compile" see [1] below) running under Cygwin on WinXP. The script finds the correct file(s) but the compiler does not recognize them as fortran source files. If the script is executed sequentially from the command line then there is no problem.
The directory structure of flh971da contains two subdirectories flh971da/scripts and flh971da/source. The compile script [1] is shown (in part) below. The script changes directory to flh971da/source, and compiles source from subdirectories flh971da/source/n where n=a,b,c etc and places the object files in flh971da/source/nobj n=a,b,c... etc. The response to flh971da/scripts/compile script is given below [2]. It is clear that the compiler (f77) locates the correct source file [4] (flh971da/source/a/a00aaft.f) but does not recognize it as a fortran source file. All relevant files have been processed with d2u. I suspect the problem is with the script, but I have no idea how to fix it.
[Code]....
View 3 Replies
View Related
Jan 15, 2011
I have searched google for a couple of days, and I keep hearing about an INode limit on filesystems, but that doesn't seem to be the case.
Now whenever I try to download something, watch a ..... video, or listen to Pandora radio, it just stops playing after 2 seconds. Downloading says "No space left on device".I also get the error as root.I do have 5% and more free of HDD space. After reading the similar posts I checked all of this, so if I am overlooking something on the forum, I apologize for an extra post about.
View 3 Replies
View Related