Skip to content

[BZ-1537] xargs arg limit exceeded in rules.lib.GNU archive command #1537

@jwillemsen

Description

@jwillemsen
Field Value
Bugzilla ID 1537
Reporter pef
Assigned to DOC Center Support List (internal)
Product ACE
Component ACE Core
Version 5.3.1
Platform / OS HP RISC / HP-UX
Priority P3
Severity normal
Status RESOLVED
Resolution FIXED
Created 2003-06-13 14:38:04 -0500

Originally posted by pef on 2003-06-13 14:38:04 -0500


While attempting to build the ACE static libraries on HP-UX, I ran into a
command-line arg limit when executing xargs. Here is the command in
rules.lib.GNU:

find $(VDIR) $(TMPINCDIR:%=%) -name "*.o" | xargs $(AR) $(ARFLAGS) $@;

I think there's a way to increase the limit, but I couldn't figure it out. The
following command seemed to work. I wonder if it would work on all platforms?

$(AR) $(ARFLAGS) $@ `find $(VDIR) $(TMPINCDIR:%=%) -name "*.o"`;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions