www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/28/23:57:24

From: Mat Hostetter <iclone!mjhostet AT cs DOT unm DOT edu>
Date: Wed, 28 Jul 93 21:09:00 -0600
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Difficulty in getting gcc to work

Ian (I.M.) Perryman writes:
>gcc -c hello.c -o hello

The "-c" option tells gcc to create a .o file.  You are forcing it to  
create a .o file (lacking the .o suffix), not an executable.  That's  
why trying to run it with go32 fails.

Since the "-c" option is working, and "gcc hello.c" isn't, it sounds  
like you may be missing ld (the linker) which is in a separate  
binutils package.

-Mat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019