another stab at my compiler problem

Patrick Smith yellowdog-general@lists.terrasoftsolutions.com
Mon Apr 22 08:27:01 2002


Joe Auty wrote:
> I don't quite have enough HD space for an install which would include 
> compiler support. As it is, I'm trying to figure out which RPMs I'd need 
> to install to add compiler (gcc) support to an existing install (the 
> internet server package). Right now, I'm getting error messages when I 
> go to compile anything saying that "gcc could not create executables". 
> This happens everytime I run a configure script, and more specifically, 
> when it is testing for whether GCC works.
> 
> I've installed (using the included RPMs from the CD):
> 
> make
> binutils
> cpp
> gcc
> 
> What else would I need?

Header files.  Libraries.  (Often found in rpms with a -dev suffix.)
Exactly which ones would depend on what you're trying to compile.

But first I'd suggest checking that you have enough for gcc to work. 
Can you compile and run this little program?

	int main() { return 0; }

If so, what about this one?

	#include <stdio.h>
	int main() {
		puts("Hello, world!");
		return 0;
	}
-- 
patsmith@pobox.com