www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/07/18:46:27

From: Charles Terry <cterry AT plinet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: no .EXE or .O files after a make
Date: Sat, 07 Mar 1998 16:27:39 -0800
Organization: All USENET -- http://www.Supernews.com
Lines: 33
Message-ID: <3501E481.5376@plinet.com>
References: <Pine DOT GSO DOT 3 DOT 95q DOT 980307104530 DOT 14790A-100000 AT interchg DOT ubc DOT ca>
NNTP-Posting-Host: 5426 AT 207 DOT 174 DOT 4 DOT 193
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Michael Samuel Tam wrote:
> 
> Hi,
>         Thank you for your reply.  When I go to compile, I have a Makefile
> that I have creatd.  The contents are:
> 
> -----
> 
> CFLAGS  =       -g
> CC      =       gcc -c -Wall
> 
> App: readFile.o
>         gcc -o App.exe readFile.o
> 
> readFile.o: readFile.c
>         gcc -c -Wall -g readFile.c
> 
> clean:
>         del core App a.out *.o
> 
> -----
> 
> The readFile.c just reads and displays the contents of a file.  It is a
> simple program I wanted to test.  I run this in a DOS prompt by going
> 'make'.  It goes through the compiling stages, but I cannot find the .EXE
> or .O files that is supposed to be created.  I do a 'Find; and
> readFile.EXE or readFile.O doesn't show up anywhere.
>
I won't claim to know the answer but my approach would be to
add a -v switch to both gcc commands and read what files are
created and wherre.

Charles

- Raw text -


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