Software :: Build A C Compiler Without An Existing C Compiler?
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.
I have downloaded the source for an embedded Linux system but no tool chain. I want/need a tool chain to rebuild the system image. Can anyone point me to a 'How to' for building the environment? It is an ARM9 system.
where I can download the GNU compilers. I installed Fedora 11 today dual botted with 64-bit Vista on an HP 64-bit computer. I found a little short description on gnu.org, but no links to download sites. Since I don't have a compiler installed already I will need to install the binarys instead of the source code.
Im using Fedora 10, and I need to install a c, and c++ compiler. I've downloaded codeblocks, but when i try to compile and run the code, nothing will happen. What other compiler should i use? what is the best c++ compiiler for fedora?
I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
I'm an absolutely beginner at linux and openSuse. I dont even know how to install apps. I learned to install from repositories but I dont know how to install a script file.. I dont even know anything about terminal. So what I want is for now is apps that required to write C/C++ codes and compile them. Im at univ and I need to install these but I dont know which apps I should get or how to install them. I was using MS Visual Studio on windows.
I'm using gcc c/c++ compiler with net beans IDE and after I compile this message shows in the terminal [URL] Uploaded with ImageShack.us since I'm new to linux I can understand this as much as I can understand russian this error doesn't always occur sometimes it runs correctly
I cant find a way to install java or eclipse on my new ubuntu 10.10 install..can anyone give me the correct sudo commands to install java and/or eclipse?
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
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?
i just installed fedora 14 and which gcc shows that there is no C++ compiler . How can i download G++ 4.5 version without download the entire development tools. Last time i tried yum groupinstall "Development Tools" and that took ages with no result.. I just want to install C++ ..
i just installed fedora and i want to install a couple programs but i keep getting the same message saying that no acceptable c compiler was found, so i downlpoaded the gcc packlage, extracted it, navigated to it in the terminal, and ran ./configure but it tells me that there was no acceptable c compiler found, whats going on here, i need an acceptable c compiler to install a c compiler this is real confusing
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.
I wanna know if the c++ gcc compiler are the same for all linux distro? Which means that if compiling a application on ubuntu will run on suse linux? that is assuming they are all using the same version of gcc compiler.
how do you do this without the package management programs some of the linux distribution's package management programs suck at finding the programs i wish to install on my machine and are usually short of variety (except for ubuntu and debian but thats too easy)
I installed Fedora on my machine. I'm very new at Linux but would like to start coding in C++. I would like to know the steps to write and compile a Hello World program using C++ in Linux. (I've been a Microsoft person all my life).
I am trying to learn C Programing and I'm having trouble on the output of my script. my script should count the characters in input but it doesn't give me any numbers.. here's my program code:
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.
I managed to figure out how to issue out the CC compiler command by issuing a symalink to the usr/bin I have now have this problem when I try to compile any C++ code I recieve this error
"/usr/include/stdio.h", line 485: Error: "(" expected instead of "__attribute__".
I went on the sun forums and they dont or give a solution due to Fedora not being test when developing this tool, so I was wonder if I could run into someone who has a solution to this problem
This is my last road block so I can fully finish my programming assignment