[buug] Falling back to gcc 2.95

Jason DiCioccio jdicioccio at epylon.com
Tue Mar 5 14:58:01 PST 2002


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look at config.log, but afaik all it usually tries to do there is compile
something..

So write some simple code..
ex:

#include <stdio.h>

int
main( void )
{
  printf( "Hello world\n" );
  return( 0 );
}


and try and compile it (gcc -o hello hello.c)

It shouldn't work.

You could also just try
"gcc -c hello.c" to see if it can do that and then link it:

gcc -o hello hello.o

I believe that is the process though if you do the "gcc -o hello hello.c" :)

Cheers,
- -JD-

- -----Original Message-----
From: wfhoney at pacbell.net [mailto:wfh at pacbell.net]
Sent: Monday, March 04, 2002 5:09 PM
To: buug at weak.org
Subject: [buug] Falling back to gcc 2.95


Hi,

I'm building a server for work and in our collective wisdom, we decided to
build mysql from source.

On www.mysql.com we saw a warning about using gcc 2.96 as follows:

	"We recommend that MySQL be compiled with gcc 2.95"

...due to stability issues.

I installed (forced) the following:

	gcc-2.95.3-1.i386.rpm
	gcc-2.95.3-2.i386.rpm
	glib-1.2.10-5.i386.rpm
	glibc-2.2.4-13.i386.rpm
	glibc-common-2.2.4-13.i386.rpm

and then typed:

	# gcc -v

...and got back...

	gcc version 2.95.3 20010315 (release)

But when I begin configuring mysql, I slam against the following wall:

	checking whether the C compiler (gcc   ) works... no
	configure: error: installation or configuration problem:
		C compiler cannot create executables.

This is one of those places in life when actually knowing what you're
doing really would help :-)

Can anyone enlighten me?  

Thanks for sticking with me this far, reading this wannabe stuff.

Bill


- -- 
_____/|   
\ o 0 |  Bill Honeycutt         wfhoney at pacbell.net
 =(')=   510-593-1195        
   U      Please remove "NO_SPAM_" when replying.



_______________________________________________
Buug mailing list
Buug at weak.org
http://www.weak.org/mailman/listinfo/buug

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPIVPZb8+wXo6G32BEQJqAgCdHsM5To3T84oBcvayLZ5yzXYu9zgAoMzX
EF7/p5iIW6tUajkofulOH8io
=lNqV
-----END PGP SIGNATURE-----





More information about the buug mailing list