logo       

Re: gcc options: msg#00125

video.xine.devel

Subject: Re: gcc options

On Mon, 2003-08-11 at 01:58, Michael Roitzsch wrote:
> Hi Florin,
>
> > There's something strange about the gcc options.
> > I passed "-O3 -march=athlon-xp -mfpmath=sse -pipe
> > -fomit-frame-pointer" via the CFLAGS.
>
> -pipe and -fomit-frame-pointer are redundant. xine will add them anyway.

True, but that's just my custom parameters in my ~.rpmrc, they get added
to any package i build.

> > However, xine-lib (latest version) decided to add "-mcpu=athlon",
> > which is strange, because that's neither compatible with the -march i
> > specified, nor is the exact match to the actual CPU in my system
> > (which is an AthlonXP 1800).
>
> Did you pass your system type to configure?
> Like "./configure --host=athlon-xp-suse-linux"

No, but... why should that matter?
Normally, a gcc parameter passed by the user via CFLAGS should override
the defaults. At least, that's what most of the other applications do.

--
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise