This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Yann, [--SNIP--] >> Apologies Yann, I've attached the patch to this mail, hadnt realised >> it was mangled. > > No problem, I've already fixed it here. > > However, I'm not too fond of a component (here, gcc) having to deal with > the internals of another compoent (here, newlib), so I'm pondering another > change to fix this: > - have newlib install its headers in libc_start_files, as the other C > libraries do; > - always copy the headers; > - get rid of ${copy_headers} altogether. > > What do you think about this? Sounds good to me - adding a copy of the newlib headers inside gcc.sh was a quick way to test this but I agree it should match the behaviour of other libc components. I've attached two patches, one for newlib which adds a copy of the headers in its libc_start_files stage, and a second patch for gcc which removes the ${copyheaders} toggle and instead always does the copy in do_cc_core_backend. thanks again, David > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq >
Attachment:
crosstool-ng_3079.patch
Description: Binary data
Attachment:
crosstool-ng_3080.patch
Description: Binary data
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |