On 10.6.8 after installing Xcode 4.2 I didn't have /usr/bin/gcc-4.2 so I've 
made ln -s gcc gcc-4.2

Additional info:

lrwxr-xr-x     1 root   wheel        12 26 lut 12:36 gcc -> llvm-gcc-4.2
lrwxr-xr-x     1 root   wheel         3 28 lut 02:58 gcc-4.2 -> gcc

gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure 
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
--with-slibdir=/usr/lib --build=i686-apple-darwin10 
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local
 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 
--target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Pozdrawiam / Regards,
Jacek Malinowski


Wiadomość napisana przez Hanspeter Niederstrasser w dniu 2012-02-28, o godz. 
23:42:

> On 2/28/2012 4:05 PM, Jacek Malinowski wrote:
>> With 0.8.10 I get the same error:
>> 
>> gcc-4.2 -I. 
>> -I"/sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10" 
>> -I/sw/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
>> -DPIC -DHAVE_AV_CONFIG_H -I/sw/lib/libspeex1/include -I/sw/include 
>> -I/usr/X11R6/include -MD   -std=c99 -fomit-frame-pointer -fPIC 
>> -I/sw/include/dirac -I/sw/include/freetype2 -I/sw/include 
>> -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include/SDL 
>> -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -Wdeclaration-after-statement -Wall 
>> -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith 
>> -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef 
>> -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno -mllvm 
>> -stack-alignment=16  -MMD -MF libavcodec/h264_cavlc.d -MT 
>> libavcodec/h264_cavlc.o -c -o libavcodec/h264_cavlc.o 
>> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_cavlc.c
>> cc1: error in backend: Ran out of registers during register allocation!
> 
> You should only be hitting this bug if you are using llvm-gcc-4.2 to compile 
> ffmpeg.
> 
> Does gcc-4.2 point to llvm-gcc-4.2 with Xcode 4.2?
> 
> 
> Hanspeter


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to