delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/08/06:11:43

Sender: tim AT picard DOT skynet DOT be
Message-ID: <3B20A3DD.58DFC137@falconsoft.be>
Date: Fri, 08 Jun 2001 12:07:25 +0200
From: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Organization: Anubex N.V.
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language: en, nl-BE, nl
MIME-Version: 1.0
To: schultz AT ma DOT tum DOT de
CC: djgpp AT delorie DOT com
Subject: Re: long line with make & gcc
References: <3B20A3C4 DOT 5F245A4A AT ma DOT tum DOT de>
Reply-To: djgpp AT delorie DOT com

Waldemar Schultz wrote:
> 
> I have a makefile that passes a long (some 300 characters) command line
> to gcc in the linking stage. This worked fine for many years.
> But since today the command line is truncated at character #124!
> Any Idea what could be the reason? I am stuck!
> I tried an earlier version of DJGPP but the same effect.
> 
> [snip]

Add 'SHELL = /bin/sh' to your makefile and it should work; make uses
COMMAND.COM by default (for dealing with DOS-oriented makefiles), and
that causes the truncation.

-- 
Tim Van Holder - Anubex N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.

- Raw text -


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