Argument list too long
I have to compile a big software for work. It is using the opencascade toolkit to develop and compile.
It compiles everything itself (nice but tricky).
However, I don't have too much control on the compilation directives and as it is automatic, it produces sometimes some huge command line to compile one lib (I have a gcc command line of 1300 lines ...). And the kernel refuses a command of that size with a nice :
/usr/bin/g++: Argument list too long. or /usr/bin/g++: Liste d'arguments trop longue. in French
As I don't want to hack Opencascade, the only "clean" solution I found is to recompile the kernel :
|
Edit the file /usr/src/linux/include/linux/binfmts.h Here is the crappy trick ! | ![]() |

2 commentaires
Etrangement ce projet me rappelle quelquechose :)
Tu sais que dans le menu “A propos", on peut voir ton nom ainsi que celui de JP ;)
Et que le projet se relance bien …
Les commentaires sont clos : ce blog est une archive statique.