Re: Missing header file from gcc

From: Hajimu UMEMOTO <ume_at_mahoroba.org>
Date: Tue, 09 Dec 2003 23:58:40 +0900
Hi,

>>>>> On Tue, 9 Dec 2003 15:51:19 +0100
>>>>> Ollivier Robert <roberto_at_keltia.freenix.fr> said:

roberto> According to Marius Strobl:
> Could you elaborate on the other problem? I hit this issue recently,
> copied src/contrib/gcc/config/i386/emmintrin.h to /usr/include and
> ffmepg 0.4.8 in ports and HEAD version from CVS compiled and worked
> fine afterwards.

Me too.  I dunno why emmintrin.h is not installed, I apply following
patch locally:

Index: gnu/usr.bin/cc/include/Makefile
diff -u gnu/usr.bin/cc/include/Makefile.orig gnu/usr.bin/cc/include/Makefile
--- gnu/usr.bin/cc/include/Makefile.orig	Wed Sep 10 02:43:07 2003
+++ gnu/usr.bin/cc/include/Makefile	Mon Nov 17 03:56:21 2003
_at__at_ -5,7 +5,7 _at__at_
 .PATH: ${GCCDIR}/config/${GCC_CPU}
 
 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
-INCS=	mmintrin.h xmmintrin.h
+INCS=	emmintrin.h mmintrin.h xmmintrin.h
 .elif ${TARGET_ARCH} == "ia64"
 INCS=	ia64intrin.h
 .endif

Sincerely,

--
Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan
ume_at_mahoroba.org  ume_at_bisd.hitachi.co.jp  ume_at_{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Received on Tue Dec 09 2003 - 05:58:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC