delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/07/18/12:35:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Thu, 18 Jul 2013 19:35:24 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: strange problem with compiling ffmpeg 2.0 - libavcodec.a was not created
In-reply-to: <6A08E58E7F1A4C4FA9C24400792CAACA@dev.null>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <838v1325df.fsf@gnu.org>
References: <b5073a3e-7c76-4fb4-ad99-48e5c6929380 AT googlegroups DOT com> <87bo61sadv DOT fsf AT uwakimon DOT sk DOT tsukuba DOT ac DOT jp> <33cb891e-c2bc-4298-aef8-f327936e3862 AT googlegroups DOT com> <83ppuh11tt DOT fsf AT gnu DOT org> <4c889912-3e72-4732-8b3a-6a0092275cda AT googlegroups DOT com> <6A08E58E7F1A4C4FA9C24400792CAACA AT dev DOT null>
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: Gisle Vanem <gvanem AT broadpark DOT no>
> Date: Thu, 18 Jul 2013 13:11:14 +0200
> 
> You could use a response-file. Like:
> 
> libavcodec/libavcodec.a: $(OBJECTS)
>   echo $(OBJECTS) > ar.tmp
>   ar rc $@ @ar.tmp
>   rm -f ar.tmp
> 
> Not sure if there's a limit then.

Depends what is 'echo': if it's a program or a shell command, you will
hit a limit.

> I have had to use this trick even with MingW building huge libs.

Unfortunately, unlike with DJGPP, not every MinGW program accepts
response files.  ar and ld do, but that's about all there is, AFAIR.

(For the record: MinGW Make is limited to 32K characters on the
command line when invoking programs directly, and to 8K characters
when invoking via cmd.exe.)

- Raw text -


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