Reverts -lm error (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2013 05:56:31 +0000 (22:56 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 May 2013 05:56:31 +0000 (22:56 -0700)
commit2fc6ff9e1f723e867ab2fd319982ab78e838397b
tree9a145d9c9a327c8a155b3862bd5923f9a9f06c86
parentee027b116a9d3b3e37ab74870cf6576cecbfce30
Reverts -lm error (XCC)

This fixes the change from 6f3a1535f7, where all applications linked
with -lm.  In lieu of libm, parlib won't use any math, and whatever
utilities I come up with will just get dumped in benchutil.

The problem was that the cross-compiler can't bootstrap itself if there
was not an existing installation with -lm.  It would work only after
everything was installed, and it took a reinstall with no existing
toolchain to detect it.

The make process for benchutil was just a copy of parlib's.  We probably
ought to take a better look at all of userspace's makes, including where
we drop files in the toolchain directories.

If you have compilation issues, make clean and rm your toolchain
installation.
GNUmakefile
tests/Makefrag
tools/compilers/gcc-glibc/gcc-4.6.1-ros/gcc/config/ros.h
user/benchutil/Makefile [new file with mode: 0644]
user/benchutil/include/measure.h [new file with mode: 0644]
user/benchutil/measure.c [new file with mode: 0644]
user/parlib/include/measure.h [deleted file]
user/parlib/measure.c [deleted file]