www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/04/12:39:29

Message-ID: <37580187.2081AA26@pmail.net>
Date: Fri, 04 Jun 1999 18:40:39 +0200
From: Fred Backman <fredrick DOT backman AT pmail DOT net>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: command line too short
References: <Pine DOT GSO DOT 3 DOT 96 DOT 990604095840 DOT 14081A-100000 AT gold DOT cs DOT umanitoba DOT ca>
Reply-To: djgpp AT delorie DOT com

Use a makefile.

Mark Phillips wrote:

> Hi I'm having some linking problems.  I use this batch file to link which
> just says this:
>
> gxx -o play.exe main.o sample.o hardware.o irq.o mix.o decode/amulaw.o
> decode/au.o decode/decomp.o decode/pcm.o decode/read.o -lalleg
>
> It always worked before, but I've just added "mix.o" to the list, and now
> I get this message:
>
> c:/djgpp/bin/ld.exe: cannot open -la: No such file or directory (ENOENT)
>
> I'm assuming that my command line has gotten too long and the "-lalleg"
> has been chopped down to "-la".  Anyone know how I can fix this?  Thanks.
>
> Mark

- Raw text -


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