URL: <http://savannah.nongnu.org/bugs/?44574>
Summary: Place device-specific libraries in their multilib directory. Project: AVR C Runtime Library Submitted by: gjlayde Submitted on: Mi 18 Mär 2015 19:10:31 GMT Category: Library Severity: 3 - Normal Priority: 5 - Normal Item Group: Build system Status: None Percent Complete: 0% Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.8.0 Fixed Release: None _______________________________________________________ Details: The current naming scheme for device-specific libraries dev/<DEVICE>/libdev.a bears the problem that it won't work if the install path contains spaces (as not uncommon under MS windows). This is actually not an avr-libc problem but a problem with avr-gcc. However, the new device-specific spec files have very limited means to handle paths containing spaces. Wrapping the path in a space-escaping spec function does not work because that would require more than one level of escaping (which is not possible because the escape character would become a part of the path name). One approach to make avr-gcc 5.0 + avr-libc work with paths containing spaces is renaming the device library to lib<DEVICE>.a and installing it in its multilib directory, i.e. in the multilib subdirectory as reported by $ avr-gcc -mmcu=<DEVICE> [options] -print-multi-directory For devices not natively supported by avr-gcc, avr-libc would have to know the correct multilib subdir. Rationale is that multilib subdirs are common library search paths. Hence the device library could then be specified as -l<DEVICE> and thus without explicit absolute path which works as expected. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?44574> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev