[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
-msim
> 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
for
> 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
link
> against (-lbfinbsp -lnosys).
This way gcc provides these special command line options by default. The
problem
is when user don't want link to such library, e.g., using options like
"-mcpu=..."
and link to their own libraries.

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

Thanks.





More information about the Newlib mailing list