Hello,
I'm trying to put my project into C::B. It currently generates 1,515 object files.
Everything builds ok, but then I get a link error. At first I thought I may be exceeding the 32k command line limit of LD (and I still may be). I changed the setting so that it put the object files in a flat directory. That didn't change my results.
If I delete 1 file, the link fails at xxx+1 (it gets 1 file further).
If I add 1 file to the project, the link fails at xxx-1 (one less file).
I think it has to do with the number of files being linked in.
Is there an easy way in C::B to break this project up, then link it too a single executable?
Thanks for any idea!
I attached a part of the Build log...
-------------- Build: all in pmi ---------------
g++ -o ./test xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o xxx.o ....
/usr/bin/ld: ./xxx.o: No such file: Too many open files
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 7 seconds)
0 errors, 0 warnings