Hello again,

on the workstation were I did the development, the used gcc is 3.3.5
and ld is 2.15. The remarkable thing is that 

    1) 'ld-2.15 --help' and 'gcc-4.0 -Wl,--help' use STDOUT.

    2) 'gcc-3.3 --help' and 'gcc-3.4 -Wl,--help' use STDERR.

Thus older versions of GCC (presumably 3.*) implement a redirection of output.

Regards

Mats E A

> Hi Mats,
> 
> I would commit this right away, but on my machine, the gcc/linker
> combination doesn't output anything on stderr. Could you tell us the
> output of
> gcc -Wl,--version
> gcc --version
> 
> I'll add that info to the script and commit.
> 
> On 27.08.2008 14:23, Mats Erik Andersson wrote:
> > Capture output from  'ld --help', in order that the test
> > becomes meaningful. The linker puts help texts on stderr.
> >
> > Signed-off-by: Mats Erik Andersson <[EMAIL PROTECTED]>
> >   
> 
> Regards,
> Carl-Daniel
> 

--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to