<p>Ok. And what does llvm-gcc --version show?</p>
<p>---<br>
With best regards,<br>
Anton Korobeynikov<br>
On Mar 6, 2012 5:22 PM, "Rafael Parizi" <<a href="mailto:parizi.computacao@gmail.com">parizi.computacao@gmail.com</a>> wrote:<br>
><br>
> For compile and link Basicmath files (using shell script):<br>
><br>
> llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc<br>
> llvm-gcc -emit-llvm cubic.c -c -o cubic.bc<br>
> llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc<br>
> llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc<br>
> llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o basicmath.bc <br>
><br>
> otms="disable-opt#adce#always-inline#argpromotion#block-placement#....."<br>
> IFS=#<br>
> for i in $otms<br>
> do<br>
>   printf "\n$i ::::::: "<br>
>   opt -$i basicmath.bc -o basicmath.$i.bc<br>
>   llc -march=mipsel basicmath.$i.bc -o basicmath.$i.s<br>
> done<br>
><br>
> On Tue, Mar 6, 2012 at 10:11 AM, Anton Korobeynikov <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>> wrote:<br>
>><br>
>> Hello<br>
>><br>
>> > For this, for example, initially I compile the sources<br>
>> How have you made this step?<br>
>><br>
>> --<br>
>> With best regards, Anton Korobeynikov<br>
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
><br>
><br>
><br>
><br>
> -- <br>
> Rafael Parizi<br>
><br>
><br>
><br>
</p>