[EMAIL PROTECTED] wrote:
> Revision: 810
>           http://svn.sourceforge.net/cegcc/?rev=810&view=rev
> Author:   dannybackx
> Date:     2006-11-17 23:54:09 -0800 (Fri, 17 Nov 2006)
> 
> Log Message:
> -----------
> Proposed fix to the build functions.
> This copies the fix I've built in the scripts/linux build 
> to work around a build problem in gcc. Not everyone appears
> to bump into this problem, but people building other cross
> compilers have reported the same.
> 
> The bug appears to be that an invalid flag -Qy is passed from
> gcc to the assembler. Removing a script created by the gcc
> configuration fixes the problem.
> 
> I've reported this to the gcc crowd.
> 
> Pedro, is this ok for inclusion in trunk ?
> 
> Modified Paths:
> --------------
>     branches/danny/cegcc/src/build-cegcc.sh
>     branches/danny/cegcc/src/build-mingw32ce.sh
> 
> Modified: branches/danny/cegcc/src/build-cegcc.sh
> ===================================================================
> --- branches/danny/cegcc/src/build-cegcc.sh   2006-11-18 07:45:23 UTC (rev 
> 809)
> +++ branches/danny/cegcc/src/build-cegcc.sh   2006-11-18 07:54:09 UTC (rev 
> 810)
> @@ -167,6 +167,8 @@
>       --enable-checking              \
>       || exit 1
>  
> +    make
> +    rm -f gcc/as
>      make || exit 1
>      make install || exit 1
>  
> 
> Modified: branches/danny/cegcc/src/build-mingw32ce.sh
> ===================================================================
> --- branches/danny/cegcc/src/build-mingw32ce.sh       2006-11-18 07:45:23 UTC 
> (rev 809)
> +++ branches/danny/cegcc/src/build-mingw32ce.sh       2006-11-18 07:54:09 UTC 
> (rev 810)
> @@ -165,6 +165,8 @@
>  
>  #  --disable-clocale              \
>  
> +    make
> +    rm -f gcc/as
>      make || exit 1
>      make install || exit 1
>  
> 

Did you ever get to analise this more? Look at the path, and understand why the 
i386 as is being called?
Looks like something is trying to call the native (i386) as, but it ends up 
picking that script on the way.
I guess building with CFLAGS=-v would help pin this down.

In the meantime, with a comment, that change is ok for trunk.

Cheers,
Pedro Alves


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to