[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#546443: sh4: please add "/usr/include/sh4-linux-gnu" to include search path.



Hi, again.

2010/1/6 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>:
> Hi,
>
> Thank you for comments.
>
> 2010/1/6 Arthur Loiret <aloiret@debian.org>:
>> The mapping is missing in gcc/multiarch.h (see
>> debian/patches/gcc-multiarch.inc). What is the corresponding GNU
>> triplet to m4-nofpu (it seems to be sh4-linux-gnu for m4)?
>>
>
> Triplet of m4-nofpu is sh4_nofpu-linux-gnu.
> What should I set in src/gcc/multiarch.h?
>

I added the following lines, and a cross-compiler tried compiling it.

# if defined(__sh4_linux_gnu__)
  { "m4",  "sh4-linux-gnu" },
  { "m4-nofpu",  "sh4_nofpu-linux-gnu" },
# endif

Package build succeeded
I watched setting of the other architecture and set it in this way.
Is it correct in this?

Best regards,
  Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



Reply to: