User forums > Help

Problem with a call to ar

<< < (4/4)

gd_on:
Thanks.
As I told, for the first patch, it's OK for me. I don't know for the second one.

gd_on

oBFusCATed:
It seems that the second patch causes a build failure of the cb-unix.cbp project (for tinyxml target) on linux :(

Alpha: Do you know the reason?

Alpha:
The command test modifies the exit code, and I forgot to reset it.  (Sorry for not noticing sooner; I do not often do full rebuilds.)

--- Code: ---Index: src/plugins/compilergcc/resources/compilers/options_gcc.xml
===================================================================
--- src/plugins/compilergcc/resources/compilers/options_gcc.xml (revision 8853)
+++ src/plugins/compilergcc/resources/compilers/options_gcc.xml (working copy)
@@ -133,7 +133,7 @@
         <Command name="LinkDynamic"
                  value="$linker -shared $libdirs $link_objects $link_resobjects -o $exe_output $link_options $libs"/>
         <Command name="LinkStatic"
-                 value="test -w $static_output &amp;&amp; rm -f $static_output\n$lib_linker -r -s $static_output $link_objects"/>
+                 value="test -w $static_output &amp;&amp; rm -f $static_output; echo -n\n$lib_linker -r -s $static_output $link_objects"/>
     </else>
     <Common name="cmds"/>
 

--- End code ---

oBFusCATed:
I've fixed it without the test, r8854...

Navigation

[0] Message Index

[*] Previous page

Go to full version