delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/02/17:37:38

Date: Wed, 03 Sep 2003 00:36:49 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <9003-Wed03Sep2003003649+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <8c7b1c74.0309020704.26e80cf@posting.google.com>
(rkarthick AT gmx DOT net)
Subject: Re: make + ld problem
References: <8c7b1c74 DOT 0309020704 DOT 26e80cf AT posting DOT google DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: rkarthick AT gmx DOT net (R.Karthick)
> Newsgroups: comp.os.msdos.djgpp
> Date: 2 Sep 2003 08:04:28 -0700
> 
> Now if i run "make" it returns the error
> 
> 	make: execvp: ld: Invalid argument
> 	make: *** [kernel32.bin] Error 127
> 
> I removed the login.o from the compilation( objects variable ) and
> added the functions from
> login.c in kernel32.c, so that it will be included in kernel32.o, and
> the binary file gets
> 
> created smoothly in that way. Does ld have any maximum number of files
> limitation which can be
> included to it from the command line or the make file??

There is a limit, but as long as all the programs including Make are
DJGPP programs, the limit is very far (almost 16K bytes in the command
line).  What does "make --version" print?  What does "ld --version"
print?

- Raw text -


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