This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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 06/12/16 18:09, Joseph Myers wrote:
On Tue, 6 Dec 2016, Sebastian Huber wrote:thanks for the detailed explanation. I guess, then the root cause for my problem is that the Newlib provided crt0.o files in the build tree are not in the same relative location of the installation tree. In the build tree, they reside in a "newlib" subdirectory. I changed the Newlib build flags set by GCC to use -L instead of -B and this seems to work (comment is wrong now). Does it make sense to submit such a patch or has it maybe some nasty side-effects?I don't know what the effects of such a change might be.
Using -L instead of -B had the same problems. My attempt to fix this problem is this patch:
https://sourceware.org/ml/newlib/2016/msg01145.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |