[PATCH arm] synchronize newlib/libc/sys/arm with libgloss/arm

Bin Cheng bin.cheng@arm.com
Thu Nov 24 11:27:00 GMT 2011

Thanks Mike for explanation.

> Blackfin's gcc provides a "-msim" flag which automatically pulls in the
> additional libs needed (-lsim).  then we run the gcc test suite with the
> compiler flag to link everything, and then run it against the sim to test.
> if we want to test against hardware, we have linker scripts in libgloss
> each of our cpu's, and the -mcpu= option automatically selects the right
> linker script for that processor, as well as adding the expected libs to
> against (-lbfinbsp -lnosys).
This way gcc provides these special command line options by default. The
is when user don't want link to such library, e.g., using options like
and link to their own libraries.

> in all cases, those libs are being generated by libgloss.


More information about the Newlib mailing list