On Sat, 2007-12-22 at 11:26 +0300, Lev Serebryakov wrote:
> Hello, cegcc-devel.
> 
>   I can not build even binutils (I run script build-mingw32ce.sh):

I've tested this several times on my system, both with the "normal"
binutils and with binutils-2.18 .

I only have (Mandriva) Linux, with these versions of tools :
flex 2.5.33
bison (GNU Bison) 2.3
gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
lex version 2.5.4

configure finds flex, not lex, on my system :
dannypc: {479} fgrep lex config.status
s,@LEX@,|#_!!_#|flex,g
s,@FLEX@,|#_!!_#|flex,g

This might be the cause of your problem.

Can you provide more info ?

        Danny

> gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o 
> ar.exe arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o 
> emul_vanilla.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a 
> ../libiberty/libiberty.a
> ar.o: In function `main':
> /cygdrive/d/Home/lev/WinCE/cegcc/src/binutils/binutils/ar.c:337: multiple 
> definition of `_main'
> arlex.o:/cygdrive/d/Home/lev/WinCE/cegcc/src/build-mingw32ce/binutils/binutils/arlex.c:1:
>  first defined here
> arparse.o: In function `yyerror':
> /cygdrive/d/Home/lev/WinCE/cegcc/src/build-mingw32ce/binutils/binutils/arparse.y:201:
>  undefined reference to `_linenumber'
> arparse.o: In function `yyparse':
> /cygdrive/d/Home/lev/WinCE/cegcc/src/build-mingw32ce/binutils/binutils/arparse.c:1348:
>  undefined reference to `_yylex'
> collect2: ld returned 1 exit status  
> 
>   I have latest cygwin, gcc 3.4.4, bison 2.3
> 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to