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] |
On Monday 21 November 2011 20:32:21 Bin Cheng wrote: > > 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. why is this a problem ? the libraries are static archives, and gcc specifies the libs last, so if the user provides all the symbols themselves, then the default library won't be used. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |