> Took a bit of your advice and having a go with
> binutils. However I cannot compile ffmepg svn 18335
> with the new ld from bintutils. Can you please have
> alook and tell if you can where this is oging wrong.
> I'm using /tmp/gcc/bin/ld but cannot figure out where
> or why it calls /usr/ccs/bin/ld when linking
> libavdevice and crashes.
It should call /usr/ccs/bin/ld because this is fixed at the time you built the
gcc, remember the --with-ld=/usr/ccs/bin/ld and --with-no-gnuld options ? Also
note, you have to build binutils *before* gcc, and add --with-as=... option ...
>
> binutils buitl with:
> pre=/tmp/gcc
> export CC=/opt/SUNWspro/bin/cc
> ./configure --prefix=${pre}
>
> ffmpeg built using:
> export CC=/opt/sfw/bin/gcc
> export CXX=/opt/sfw/bin/g++
> export CFLAGS="-O4"
> export CXXFLAGS="-O4"
try to not set these, as you override ffmpeg's default flags which is not a
good idea, ffmpeg compiles and links just fine for me (with gcc4.4+asm from
binutils-2.19.1 and /usr/ccs/bin/ld as the linker)
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]