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

Date: Thu, 29 Jul 1993 07:43:55 -0400
From: ae1181t AT stnfor DOT ae DOT ge DOT com (Osman F Buyukisik)
To: perryman AT bnr DOT ca
Cc: alvin AT top DOT cis DOT syr DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu, shipmanm AT cs DOT arizona DOT edu
Subject: Re: Difficulty in getting gcc to work

You have not linked the program yet! 
gcc -c hello.c -o hello
would produce the object file as `hello' not linked executable!
type this :
gcc -o hello hello.c
then gcc will compile and link (providing you have both gcc and ld on your
PATH).
What you typed would not have worked on unix machines either.
Osman

- Raw text -


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