This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]