delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/04/12:00:42

From: Mark Phillips <umphill5 AT cs DOT umanitoba DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: command line too short
Date: Fri, 4 Jun 1999 10:08:54 -0500
Organization: The University of Manitoba
Lines: 17
Message-ID: <Pine.GSO.3.96.990604095840.14081A-100000@gold.cs.umanitoba.ca>
NNTP-Posting-Host: gold.cs.umanitoba.ca
Mime-Version: 1.0
X-Trace: canopus.cc.umanitoba.ca 928508945 2966 130.179.24.1 (4 Jun 1999 15:09:05 GMT)
X-Complaints-To: Postmaster AT cc DOT umanitoba DOT ca
NNTP-Posting-Date: 4 Jun 1999 15:09:05 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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