Re: Cross Compiler Host MinGW Target PowerPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you for your help!
I have read some good informations in the Web and use now a combined build tree.
So I am able to compile the GCC in Linux now!
Today I tried the same procedure in MinGW and fail.

Output after "make":
...
echo "\"/home/seb/combined/gcc/c-objc-common.c\", " >> tmp-gtyp.h
echo "\"/home/seb/combined/gcc/c-parser.c\", " >> tmp-gtyp.h
echo " NULL};" >> tmp-gtyp.h
echo "static const char *const lang_dir_names[] = { \"c\", " >> tmp-gtyp.h
echo "\"cp\", " >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
/bin/sh /home/seb/combined/gcc/../move-if-change tmp-gtyp.h gtyp-gen.h
echo timestamp > s-gtyp-gen
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/seb/combined/gcc -I/home/seb/combined/gcc/build -I/home/seb/combined/gcc/../include -I./../intl -I/home/seb/combined/gcc/../libcpp/include -o build/gengtype.o /home/seb/combined/gcc/gengtype.c gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/seb/combined/gcc -I/home/seb/combined/gcc/build -I/home/seb/combined/gcc/../include -I./../intl -I/home/seb/combined/gcc/../libcpp/include -o build/gengtype-lex.o /home/seb/combined/gcc/gengtype-lex.c
gengtype-lex.c:3400: warning: no previous prototype for 'yyget_lineno'
gengtype-lex.c:3409: warning: no previous prototype for 'yyget_in'
gengtype-lex.c:3417: warning: no previous prototype for 'yyget_out'
gengtype-lex.c:3425: warning: no previous prototype for 'yyget_leng'
gengtype-lex.c:3434: warning: no previous prototype for 'yyget_text'
gengtype-lex.c:3443: warning: no previous prototype for 'yyset_lineno'
gengtype-lex.c:3455: warning: no previous prototype for 'yyset_in'
gengtype-lex.c:3460: warning: no previous prototype for 'yyset_out'
gengtype-lex.c:3465: warning: no previous prototype for 'yyget_debug'
gengtype-lex.c:3470: warning: no previous prototype for 'yyset_debug'
gengtype-lex.c:3476: warning: no previous prototype for 'yylex_destroy'
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/seb/combined/gcc -I/home/seb/combined/gcc/build -I/home/seb/combined/gcc/../include -I./../intl -I/home/seb/combined/gcc/../libcpp/include -o build/gengtype-yacc.o /home/seb/combined/gcc/gengtype-yacc.c gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/gengtype.exe \
build/gengtype.o build/gengtype-lex.o build/gengtype-yacc.o \
build/errors.o ../build-i686-pc-mingw32/libiberty/libiberty.a
build/gengtype.exe
/home/seb/combined/gcc/input.h: No such file or directory
make[2]: *** [s-gtype] Error 1
make[2]: Leaving directory `/home/seb/build/combined/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/seb/build/combined'
make: *** [all] Error 2



The output from "ls -l /home/seb/combined/gcc/input.h"
-rw-r--r-- 2 seb Administ 2896 Jun 25 2005 /home/seb/combined/gcc/input.h



The output from "cat -n /home/seb/combined/gcc/input.h"
    1  /* Declarations for variables relating to reading the source file.
    2     Used by parsers, lexical analyzers, and error message routines.
3 Copyright (C) 1993, 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc. 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify it under
    8  the terms of the GNU General Public License as published by the Free
    9  Software Foundation; either version 2, or (at your option) any later
   10  version.
11 12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   13  WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
   15  for more details.
16 17 You should have received a copy of the GNU General Public License
   18  along with GCC; see the file COPYING.  If not, write to the Free
   19  Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
   20  02110-1301, USA.  */
21 22 #ifndef GCC_INPUT_H
   23  #define GCC_INPUT_H
24 25 #include "line-map.h"
   26  extern struct line_maps line_table;
27 28 /* The location for declarations in "<built-in>" */
   29  #define BUILTINS_LOCATION ((source_location) 2)
...



I don't now why the compile process think that the file does not exist.


Please Help!

Sebastian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux