www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/26/05:16:52

Date: Fri, 26 Oct 2001 11:12:59 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Micah J. Kimbrough" <sciencecenter AT earthlink DOT net>
Message-Id: <8296-Fri26Oct2001111259+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3BD8BDA4.5080408@earthlink.net> (sciencecenter@earthlink.net)
Subject: Re: Problem linking with gcc
References: <3BD8BDA4 DOT 5080408 AT earthlink DOT net>
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: "Micah J. Kimbrough" <sciencecenter AT earthlink DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 26 Oct 2001 01:37:14 GMT
> 
>      I am trying to compile and link a program with gcc that came with 
> djcpp. I tried entering the link command manually like gcc.exe -o 
> file.exe file.o file.o file.o ... etc. -lm  and I modified the makefile 
> to use gcc and ran it as well and it still will not link under Windows 
> 98 dos shell. What it is seems to be doing is cutting off the link 
> command even when running the make file. This is the error I get: 
> gcc.exe: fil No such file or directory (ENOENT). Notice that file.o is 
> fil, I meant to do that because it is cutting off the actual file name 
> when I run make.

Sounds like you somehow get the command-line arguments passed via
COMMAND.COM, which has a 126-character limit for command line length.

What version of Make do you use?  Is that the DJGPP port of GNU Make?
Only the DJGPP port of Make, and only if it calls the DJGPP port of
GCC, can pass long commands to the compiler.

Can you show us the exact command line run by Make which seems to be
truncated?

- Raw text -


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