Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Fabrice FACORAT

Le Mercredi 29 Août 2001 13:00, vous avez écrit :
 I use MPlayer as a way of playing pertty much all my multimedia with
 linux. On the MPlayer website and in it's configure routine, it claims
 that the gcc 2.96 that ships with Mandrake is broken (something about
 MMX being done incorrectly...?). It also claims that the 3.01 shipped
 with Mandrake cooker is broken as it was compiled with gcc 2.96.

./configure --disable-gcc-checking
make
make install

evrything work fine for me, so what they say ..


 Can you substantiate any of these claims? If it's not broken, I'd like
 to put them straight, and if it's true, then what's the state of play
 with having 3.01 compiled *ducks* properly.

 Sorry if I'm being dense, but compilers are something of a mystery to me.

 Thank

 Alex Hulse

-- 
Copyleft Faber's prod. 2001
http://perso.wanadoo.fr/linux_wizard/index.html




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Christian Bricart

On Wed, Aug 29, 2001 at 12:00:06PM +0100, Alex Hulse wrote:
 [..]
 It also claims that the 3.01 shipped 
 with Mandrake cooker is broken as it was compiled with gcc 2.96.

As this is the way gcc compiles:

 - compile an mini-gcc (stage1/xgcc) with any *cc installed
 - compile another (stage2/xgcc) with stage1/gcc
 - compile whole gcc (stage3/xgcc) with stage2/xgcc
 - while (
 differ(
code_produced_by_stageN_gcc, 
code_produced_by_stageN-1_gcc
 )) {
   - compile stageN+1_gcc with stageN_gcc 
   - N++
 }

it should not matter what gcc version is installed .. objections?

Christian

-- 
Backups are for wimps. Real men upload their data to an FTP site and have
 everyone else mirror it.- Linus Torvalds




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Guillaume Rousse

Ainsi parlait Alex Hulse :
 I use MPlayer as a way of playing pertty much all my multimedia with
 linux. On the MPlayer website and in it's configure routine, it claims
 that the gcc 2.96 that ships with Mandrake is broken (something about
 MMX being done incorrectly...?). It also claims that the 3.01 shipped
 with Mandrake cooker is broken as it was compiled with gcc 2.96.

 Can you substantiate any of these claims? If it's not broken, I'd like
 to put them straight, and if it's true, then what's the state of play
 with having 3.01 compiled *ducks* properly.
MPlayer compiled with 2.96 doesn't work, and just shows an empty black 
screen. But compiled with gcc3.0.1, it works. That what i did for my MPlayer 
rpm.
Question for mdk rpm gurus: for package where configure doesn't support a 
--with-gcc flag, is there a way to force compilation with a specific compiler 
?

-- 
Guillaume Rousse [EMAIL PROTECTED]
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Fabrice FACORAT

Le Mercredi 29 Août 2001 15:21, vous avez écrit :
 MPlayer compiled with 2.96 doesn't work, and just shows an empty black
 screen. 

ah. Oh my god, I don't use Mplayer and gcc 2.96. People lie me.
No it work for me very fine. There's just the OpenGL output that doesn't 
work, but it's because of Nvidia drivers.

 But compiled with gcc3.0.1, it works. That what i did for my
 MPlayer rpm.
 Question for mdk rpm gurus: for package where configure doesn't support a
 --with-gcc flag, is there a way to force compilation with a specific
 compiler ?

with sudo maybe.

-- 
Copyleft Faber's prod. 2001
http://perso.wanadoo.fr/linux_wizard/index.html




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Steven Ponsford

On Wed, 29 Aug 2001 15:21:26 +0200
Guillaume Rousse [EMAIL PROTECTED] wrote:

Q Ainsi parlait Alex Hulse :
  I use MPlayer as a way of playing pertty much all my multimedia with
  linux. On the MPlayer website and in it's configure routine, it claims
  that the gcc 2.96 that ships with Mandrake is broken (something about
  MMX being done incorrectly...?). It also claims that the 3.01 shipped
  with Mandrake cooker is broken as it was compiled with gcc 2.96.
 
  Can you substantiate any of these claims? If it's not broken, I'd like
  to put them straight, and if it's true, then what's the state of play
  with having 3.01 compiled *ducks* properly.
 MPlayer compiled with 2.96 doesn't work, and just shows an empty black 
 screen. But compiled with gcc3.0.1, it works. That what i did for my MPlayer 
 rpm.
 Question for mdk rpm gurus: for package where configure doesn't support a 
 --with-gcc flag, is there a way to force compilation with a specific compiler 
 ?
 
 -- 
 Guillaume Rousse [EMAIL PROTECTED]
 GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html

Works with 2.96 just don't use -vo gl option.  Make sure you copied the
codecs.conf file to your ~/.mplayer directory.

I looked at the spec file and it has MMX disabled so that shouldn't cause
problems.  You might want to rpm -ivh MPlayer then goto the spec
file and remove the 'libstdc++3.0-devel' option from BuildRequires and if
your using gcc-2.96 replace --cc=gcc-3.01  with --cc=gcc in the
%configure line then rpm -bb MPlayer.spec.




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Gwenole Beauchesne

Hi,

 I use MPlayer as a way of playing pertty much all my multimedia with
 linux. On the MPlayer website and in it's configure routine, it claims
 that the gcc 2.96 that ships with Mandrake is broken (something about
 MMX being done incorrectly...?).

I am not aware of that specific problem (MMX), Red Hat either:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=47817

 It also claims that the 3.01 shipped with Mandrake cooker is broken as
 it was compiled with gcc 2.96.

Gcc is bootstrapped. Say we want to build gcc3 with the current
development tools (e.g. gcc-2.96):
- The system C compiler (currently 2.96) builds stage1 C compiler.
- Stage1 C compiler builds stage2 compiler(s).
- Stage2 compiler builds stage3 compiler(s).
- The stage3 compiler is then compared to stage2 compare and if they are
the same, that's good. Stage2 and stage3 compilers should identical.
- Finally, the stage3 compiler(s) are used to build the remaining libs
(libstdc++-v3, libjava, etc.).

In short, the resulting gcc3 was compiled with... gcc3.

The following document is not GCC-specific but you may find it
interesting:

@misc{ and-buildtime,
  author = Qiang Tu And,
  title = The Build-Time Software Architecture View,
  url = citeseer.nj.nec.com/418824.html }

-- See section 3.1

Bye,
Gwenolé.





Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Alex Hulse

Christian Bricart wrote:



it should not matter what gcc version is installed .. objections?

Christian

No none. It's just that I find that their objections reflect badly on 
mdk. Given that I'm not in any position of authority, and that the 
mplayer team have had enough of being asked about the gcc issue (flames 
only now). May I ask that one of you mdk guys get on to them 
(mplayer.dev.hu) and see if they can't explain what they think is wrong 
so youo can see about fixing it?

Apologies for being dim, but it bothers me that MPlayer says that it 
will compile, but I can't complain that it doesn't work.

Cheers

Alex






Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Guillaume Cottenceau

Guillaume Rousse [EMAIL PROTECTED] writes:

 Ainsi parlait Alex Hulse :
  I use MPlayer as a way of playing pertty much all my multimedia with
  linux. On the MPlayer website and in it's configure routine, it claims
  that the gcc 2.96 that ships with Mandrake is broken (something about
  MMX being done incorrectly...?). It also claims that the 3.01 shipped
  with Mandrake cooker is broken as it was compiled with gcc 2.96.
 
  Can you substantiate any of these claims? If it's not broken, I'd like
  to put them straight, and if it's true, then what's the state of play
  with having 3.01 compiled *ducks* properly.
 MPlayer compiled with 2.96 doesn't work, and just shows an empty black 
 screen. But compiled with gcc3.0.1, it works. That what i did for my MPlayer 
 rpm.
 Question for mdk rpm gurus: for package where configure doesn't support a 
 --with-gcc flag, is there a way to force compilation with a specific compiler 
 ?

``export CC=whatever'' should work (untested).



-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] MPlayer team and mdk gcc

2001-08-29 Thread Borsenkow Andrej

Guillaume Cottenceau wrote:
Question for mdk rpm gurus: for package where configure doesn't support a 
--with-gcc flag, is there a way to force compilation with a specific compiler 
?
 ``export CC=whatever'' should work (untested).

Or, if configure was created with autoconf 2.50 and above,

configure CC=whatever CXX=someelse ...

-andrej