clarify the purpose of this project
[nyanglibc.git] / make / libgcc-libm.sh
blobdc580c1c27926472b2680112d0010fbb9eb204db
1 printf "\
2 LIBGCC LIBM*********************************************************************\n"
3 mkdir -p $build_dir/libgcc/libm
5 paths="\
6 $src_dir/libgcc/libm/extenddftf2 \
7 $src_dir/libgcc/libm/fixtfsi \
8 $src_dir/libgcc/libm/floatunsitf \
9 $src_dir/libgcc/libm/muldc3 \
10 $src_dir/libgcc/libm/mulsc3 \
11 $src_dir/libgcc/libm/multc3 \
12 $src_dir/libgcc/libm/mulxc3 \
13 $src_dir/libgcc/libm/trunctfsf2 \
14 $src_dir/libgcc/libm/floatditf \
15 $src_dir/libgcc/libm/fixtfdi \
16 $src_dir/libgcc/libm/trunctfdf2 \
17 $src_dir/libgcc/libm/trunctfxf2 \
19 objs=
20 for p in $paths
22 printf "ASSEMBLING $p.shared.s\n"
23 obj=$(basename $p).o
24 objs_path="$objs_path $build_dir/libgcc/libm/$obj"
25 $as $p.shared.s -o $build_dir/libgcc/libm/$obj
26 done
27 $ar crv $build_dir/libgcc/libm/libgcc-libm.a $objs_path