Hi, I have a problem something weird.
I made some cpp files in my project folder and made a Makefile to compile easier.
The problem is that if compile path is longer than specific length, the compile error was occured.
Only difference between success and fail is the length of compile path of target cpp files.
Is there a maximum length of compile path or something else i don't know in arm compiler?
please share your wisdom,
thanks.
Yep that's right, there's an 8K linit on command lines in WIndows,though a makefile would normally do one compile at a time checking each source file whether it has changed.so I'm not certain what is happening there I can't see how one would get to such a length other than by supplying a list of source files. If you really want to supply a long list of source files or other options to the compiler you can use the --via option.
Also if the compile path is too long you'll almost certainly come across this problem again when linking and want this fix
LINKER ERROR: Argument list too long
It sounds like there should be some FAQ which answers this as it can only get more common as the size of systems grows.