libbsd: Argument list too long
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 13 07:25:26 UTC 2016
I created a waf ticket for this:
https://github.com/waf-project/waf/issues/1756
On 10/06/16 18:20, Joel Sherrill wrote:
>
>
> On Jun 10, 2016 9:16 AM, "Sebastian Huber"
> <sebastian.huber at embedded-brains.de
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
> >
> > Hello,
> >
> > I added the NFSv3 client to libbsd which has now 884 files for the
> libbsd.a library. On msys2 this leads to an "Argument list too long"
> error during library creation. Is there a way to fix this in waf, e.g.
> you can pass the files to GNU ld via an input file instead of the
> argument list?
>
> Yes. I recall two direct ways.
>
> + @XXX where XXX is a file containing the rest.of the command line
> arguments. I don't know how universally this is supported by the GNU
> tools by i am pretty sure gcc and binutils support it.
>
> + Generate a linker script with INPUT directives for.each file.
>
> https://groups.google.com/forum/m/#!topic/gnu.gcc.help/E6STugqy2hQ
> <https://groups.google.com/forum/m/#%21topic/gnu.gcc.help/E6STugqy2hQ>
> shows the latter. But there are examples out there using the @.
>
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list