cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/13/11:34:10

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Weird debugging problems
Date: Wed, 13 Aug 1997 11:23:59 +0200
Organization: TU Chemnitz-Zwickau
Lines: 20
Message-ID: <33F17D2F.17A93780@Mathematik.TU-Chemnitz.DE>
References: <33f0f2e2 DOT 1965997 AT nntp DOT mbnet DOT mb DOT ca>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeremy Penner wrote:
> 
> gcc leveled.c -g leveled.exe tilelib.o sprite.o -lalleg
[snip]
> This goes on for a while.  Can anyone help me?

Simply insert a '-o' switch in the commandline above
before the output file, otherwise gcc links leveled.exe
in you program. That means your commandline should look:

gcc leveled.c -g -o leveled.exe tilelib.o sprite.o -lalleg

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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