compile and like failed due to g++ command line too long

Bug #1402494 reported by cliff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro
New
Undecided
Unassigned

Bug Description

 affects Linaro GCC

Hi there,

I'm building my cross compiler tool chain with arm-linux-gnueabi soft-float version on Windows 7. The fact is that my project contains too many files and I have to build them at the same time. However, g++ command line couldn't digest it due to the length limitation . Therefore, I put all my resources' absolute file paths into one file and fire the command format as below:

./arm-linux-gnueabi-g++.exe -Wl,@tmpfile -o output

Where tmpfile is the list of absolute file paths to the resources.
After the changes I've made, the error is still raised and the message is:
arm-linux-gnueabi-g++.exe: CreateProcess: no such file or directory

Then I remove most file paths until the remaining number of characters is about 30000, the error message doesn't show up anymore.

Is there any solution or information about how to solve this issue? I've tried so many ways to work around this problem but still failed. Any information would be helpful at this moment, thanks!

Cliff

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.