Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T titan.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 124
    • Issues 124
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse Titan
  • titan.core
  • Issues
  • #556
Closed
Open
Issue created Jul 09, 2021 by Adam Knapp@aknappqwtMaintainer

make clean can cause “Argument list too long” error

Summary

In the generated Makefile all files are cleaned in one command

clean:
               -$(RM) $(EXECUTABLE) $(LIBRARY) $(OBJECTS) $(GENERATED_HEADERS) \
               $(GENERATED_SOURCES) $(PREPROCESSED_TTCN3_MODULES) compile $(DEPFILES) \
               tags *.log

With a lot of files Argument list too long error is got.

Possible fixes

Separate the clean command, e.g.

clean:
               -$(RM) $(EXECUTABLE) $(LIBRARY) $(OBJECTS) 
               -$(RM) $(GENERATED_HEADERS)
               -$(RM) $ (GENERATED_SOURCES) $(PREPROCESSED_TTCN3_MODULES) 
               -$(RM) compile $(DEPFILES) tags *.log

Titan version

8.0.0.

/cc @aknappqwt

Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent