[vlc-devel] Take two: VLC and ICC

galenz at zinkconsulting.com galenz at zinkconsulting.com
Mon Oct 16 00:05:28 CEST 2006


Using the 0.9.0-svn 10/15 snapshot, I have attempted to build VLC  
with ICC again. The GCC build seems to be progressing without  
problems although it will be a while before it's completely done, it  
certainly isn't have these problems. Here's the results of ./ 
bootstrap for the ICC build:

galens-computer:/vlc_source/vlc-0.9.0-svn-icc/extras/contrib galen$ ./ 
bootstrap
++ gcc -dumpmachine
+ BUILD=i686-apple-darwin8
+ test 0 = 1
+ HOST=i686-apple-darwin8
+ rm -f config.mak
+ echo -e '# Automatically generated by bootstrap.\n# Make changes if  
you know what you'\''re doing.\n'
+ test i686-apple-darwin8 '!=' i686-apple-darwin8
+ SDK_TARGET=10.3
+ echo 'SDK_TARGET = 10.3'
+ echo 'HAVE_DARWIN_OS = 1'
+ echo 'ENVP = MACOSX_DEPLOYMENT_TARGET=10.3'
+ echo 'MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk'
+ CFLAGS_TUNING= -march=pentium-m -mtune=prescott
+ echo 'PATH = /bin:/usr/bin:/usr/local/bin'
+ echo 'BUILD = i686-apple-darwin8'
+ echo 'HOST = i686-apple-darwin8'
++ pwd
+ echo 'PREFIX = /vlc_source/vlc-0.9.0-svn-icc/extras/contrib'
+ echo 'CC = icc'
+ echo 'CXX = icc'
+ echo 'LD = '
+ echo 'RANLIB = '
+ echo 'AR = '
+ echo 'EXTRA_CFLAGS =  -march=pentium-m -mtune=prescott '
+ echo 'EXTRA_CPPFLAGS =  -I/include'
+ echo 'EXTRA_LDFLAGS = '
+ echo 'EXTRA_PATH = '
+ which curl
+ echo 'WGET = curl -O'
+ test -f /sw/bin/svn
+ test -f /usr/local/bin/svn
+ echo 'SVN = /usr/local/bin/svn'

Now here's how ICC is failing:
mv gettext-0.14.6 gettext || true
touch gettext
patch -p 0 < Patches/gettext-macosx.patch
patching file gettext/gettext-runtime/m4/gettext.m4
(cd gettext; ./autogen.sh)
touch .iconv
( cd gettext && CC="icc" CXX="icc" ./configure  --prefix=/vlc_source/ 
vlc-0.9.0-svn-icc/extras/contrib )
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i686-apple-darwin8.4.1
checking host system type... i686-apple-darwin8.4.1
configure: creating ./config.status
config.status: creating Makefile
=== configuring in autoconf-lib-link (/vlc_source/vlc-0.9.0-svn-icc/ 
extras/contrib/src/gettext/autoconf-lib-link)
configure: running /bin/sh ./configure --prefix=/vlc_source/vlc-0.9.0- 
svn-icc/extras/contrib  'CC=icc' 'CFLAGS=-I/vlc_source/vlc-0.9.0-svn- 
icc/extras/contrib/include -march=pentium-m -mtune=prescott  -I/ 
include' 'LDFLAGS=-L/vlc_source/vlc-0.9.0-svn-icc/extras/contrib/lib  
' 'CPPFLAGS=-I/vlc_source/vlc-0.9.0-svn-icc/extras/contrib/include - 
march=pentium-m -mtune=prescott  -I/include' 'CXX=icc' 'CXXFLAGS=-I/ 
vlc_source/vlc-0.9.0-svn-icc/extras/contrib/include -march=pentium-m - 
mtune=prescott  -I/include' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... icc
checking for C compiler default output file name... configure: error:  
C compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for autoconf-lib-link
make[1]: *** [.intl] Error 1
make: *** [src] Error 2

This is a rather interesting error, being that it's happening so much  
earlier in the build process.

Can anybody point me in the right direction here?

Thanks,

-Galen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list