[LLVMdev] Build issues on Solaris

Duncan Sands baldrick at free.fr
Wed Aug 19 00:46:22 PDT 2009


Hi Nathan,

> The latter being what GenLibDeps.pl expects to see. All else being  
> equal though, it might be better to change GenLibDeps.pl to recognize  
> the first version:
> --- GenLibDeps.pl       (revision 78653)
> +++ GenLibDeps.pl       (working copy)
> @@ -100,7 +100,7 @@
>       print "  <dt><b>$lib</b</dt><dd><ul>\n";
>     }
>     open UNDEFS,
> -    "$nmPath -u $Directory/$lib | sed -e 's/^[ 0]* U //' | sort |  
> uniq |";
> +    "$nmPath -u $Directory/$lib | sed -e 's/^[ 0]* U //' -e 's/^ *//'  
> | sort | uniq |";
>     my %DepLibs;
>     while (<UNDEFS>) {
>       chomp;


starting at line 123 there seems to be a by-hand version of the
sed command.  I guess this needs to be adjusted too.  Probably
sed can be used nowadays.

Ciao,

Duncan.



More information about the llvm-dev mailing list