* RFA: LM32: Configure with newlib-stdint.h
@ 2015-10-06 13:36 Nick Clifton
2015-10-06 21:06 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Nick Clifton @ 2015-10-06 13:36 UTC (permalink / raw)
To: sebastien; +Cc: gcc-patches
Hi Sebastien,
I recently found that I could not build libstdc++ for the lm32-elf
target because the port lacked a definition of __INTPTR_TYPE__. I
tracked this down to the fact that INTPTR_TYPE was not being defined
when building gcc, and this in turn was due to the fact that the
newlib stdint types were not being defined. So please may I apply the
patch below to correct this problem ?
Cheers
Nick
gcc/ChangeLog
2015-10-06 Nick Clifton <nickc@redhat.com>
* config.gcc (lm32-elf): Add newlib-stdint.h to tm_file.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 228513)
+++ gcc/config.gcc (working copy)
@@ -1834,7 +1834,7 @@
md_file=iq2000/iq2000.md
;;
lm32-*-elf*)
- tm_file="dbxelf.h elfos.h ${tm_file}"
+ tm_file="dbxelf.h elfos.h ${tm_file} newlib-stdint.h"
tmake_file="${tmake_file} lm32/t-lm32"
;;
lm32-*-rtems*)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RFA: LM32: Configure with newlib-stdint.h
2015-10-06 13:36 RFA: LM32: Configure with newlib-stdint.h Nick Clifton
@ 2015-10-06 21:06 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2015-10-06 21:06 UTC (permalink / raw)
To: Nick Clifton, sebastien; +Cc: gcc-patches
On 10/06/2015 07:36 AM, Nick Clifton wrote:
> Hi Sebastien,
>
> I recently found that I could not build libstdc++ for the lm32-elf
> target because the port lacked a definition of __INTPTR_TYPE__. I
> tracked this down to the fact that INTPTR_TYPE was not being defined
> when building gcc, and this in turn was due to the fact that the
> newlib stdint types were not being defined. So please may I apply the
> patch below to correct this problem ?
>
> Cheers
> Nick
>
> gcc/ChangeLog
> 2015-10-06 Nick Clifton <nickc@redhat.com>
>
> * config.gcc (lm32-elf): Add newlib-stdint.h to tm_file.
OK.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-06 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-06 13:36 RFA: LM32: Configure with newlib-stdint.h Nick Clifton
2015-10-06 21:06 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).