[Insight-users] Re: Controlling number of lines with CabeSwig (was Re: gcc-3.3 : final_scan_insn, at final.c:2117)

Luis Ibanez luis.ibanez at kitware.com
Thu Sep 13 07:44:39 EDT 2007



Just for the record:

   This patch was committed to CVS.


Thanks Gaetan!


--

     Luis


--------------------
Gaëtan Lehmann wrote:
> 
> Hi Mathieu,
> 
> Le 12 sept. 07 à 11:47, Mathieu Malaterre a écrit :
> 
>> The trick is to simply add -fcompact. The time to compile the file is
>> exactly the same but at least I am now pleasing gcc 3.3, and manage to
>> compile the object file.
>>
> 
> That's a good news :-)
> 
>> Now I need to figure out how to add this -fcompact to all target,
>> geatan any suggestion ?
> 
> 
> yes, you can add it in CreateWrapperLibrary.cmake, line 416
> 
>   ADD_CUSTOM_COMMAND(
>    SOURCE ${input_idx}
>    COMMAND ${CSWIG}
>    ARGS ${swig_libs}
>         -I${CSWIG_DEFAULT_LIB}
>         ${CSWIG_IGNORE_WARNINGS}
>         -noruntime
>     -fcompact <------------ HERE !
>         ${cindex}
>         -depend ${input_xml}.depend
>         -outdir ${outdir}
>         -o ${output_cxx}
>         -c++
>         ${CSWIG_ARGS_${language}}
>         ${extra_args}
>         ${input_xml}
>    TARGET ${library_name}
> 
> Gaëtan
> 
> 
> 
> -- 
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list