Article complet: Argument list too long

03.05.05

Permalink 05:15:15, Catégories: Administration, Développement, 140 mots   French (FR)

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
and change the 32 parameter to 64 to increase this limit. :

#define MAX_ARG_PAGES 32

And recompile the kernel ...

Here is the crappy trick !

Commentaires:

Commentaire de: Fg [Membre] · http://www.menestrel.org/pensees/
Etrangement ce projet me rappelle quelquechose :)
Permalien 04.05.05 @ 09:41
Commentaire de: Sylvestre [Visiteur]
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 ...
Permalien 04.05.05 @ 09:44

Les commentaires sont fermés pour cet article.

A frog around the world

Mon séjour en Australie s'est terminé... Un an et demi de bonheur ! Cependant, ce blog continue. Je continue à garder le contact avec le pays et je continue à partager mes expériences.
Pour plus d'infos sur l'Australie, mon carnet de voyage est aussi disponible.
D'autres carnets de voyage sur Kikooboo !

Mars 2012
Lun Mar Mer Jeu Ven Sam Dim
<<  <   >  >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Catégories


Linkblog

Syndiquez ce blog XML

What is RSS?

powered by
b2evolution