public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: GCC Error: C compiler cannot create executables.
       [not found] <616BE6A276E3714788D2AC35C40CD18D7409F9@whale.softwire.co.uk>
@ 2002-07-31  7:11 ` Rupert Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Rupert Wood @ 2002-07-31  7:11 UTC (permalink / raw)
  To: 'Danny Ybarra'; +Cc: gcc-help

Danny Ybarra wrote:

> Whenever I try to compile anything on one of our 10 AIX 5.1 
> machines, I get C compiler cannot create executables.

That's the error from a configure script.

You might get useful output from gcc -v; try compiling a simple C
program, e.g. create a text file containing the following:

    #include <stdio.h>
    int main(void) { printf("Hello, World!\n"); return 0; }

and save it as hw.c. Then run:

    gcc -v hw.c

and you might get more useful error messages.

Likely reasons are that you are missing one or more of:

    * an assembler (usually called 'as')
    * a linker (usually called 'ld')
    * a C library (usually '/lib/libc.a' and/or '/lib/libc.so')
    * lead in/out objects (varies by OS; usually .o files in /lib)

all of which you'll likely find on your OS install media.
(Alternatively, you can get a binary install of GNU binutils for the
first two.)

Good luck,
Rup.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC Error: C compiler cannot create executables.
  2002-07-31  7:00 Danny Ybarra
@ 2002-07-31  7:04 ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2002-07-31  7:04 UTC (permalink / raw)
  To: Danny Ybarra, gcc-help

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

At 14:00 31/07/2002 +0000, Danny Ybarra wrote:
>Whenever I try to compile anything on one of our 10 AIX 5.1 machines, I 
>get C compiler cannot create executables.  I'm not sure if it has 
>something to do with the path or not.  Can you please help?

A bit vague...

[-- Attachment #2: Type: application/pgp-signature, Size: 222 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* GCC Error: C compiler cannot create executables.
@ 2002-07-31  7:00 Danny Ybarra
  2002-07-31  7:04 ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Ybarra @ 2002-07-31  7:00 UTC (permalink / raw)
  To: gcc-help

Whenever I try to compile anything on one of our 10 AIX 5.1 machines, I get 
C compiler cannot create executables.  I'm not sure if it has something to 
do with the path or not.  Can you please help?

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-31 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <616BE6A276E3714788D2AC35C40CD18D7409F9@whale.softwire.co.uk>
2002-07-31  7:11 ` GCC Error: C compiler cannot create executables Rupert Wood
2002-07-31  7:00 Danny Ybarra
2002-07-31  7:04 ` Andrea 'Fyre Wyzard' Bocci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).