This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build error while building binutils for i686-pc-cygwin


when I do configure in build-binutils as below:


 ../configure --target=m68k-coff --prefix=/bar


and then I do

make all 


I get below error:



tional -pedantic ../../libiberty/cp-demangle.c -o
cp-demangle.o                 if [ x"" != x ]; then \ 
                                                      
  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/md5.c -o pic/md5.o; \      
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/md5.c -o md5.o              
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/alloca.c -o pic/alloca.o; \
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/alloca.c -o alloca.o        
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/choose-temp.c -o
pic/choose-temp.o; \       else true; fi              
                                                   
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/choose-temp.c -o
choose-temp.o                 if [ x"" != x ]; then \ 
                                                      
  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/concat.c -o pic/concat.o; \
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/concat.c -o concat.o        
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/dyn-string.c -o
pic/dyn-string.o; \         else true; fi             
                                                    
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/dyn-string.c -o dyn-string.o
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/fibheap.c -o pic/fibheap.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/fibheap.c -o fibheap.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/fnmatch.c -o pic/fnmatch.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/fnmatch.c -o fnmatch.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/getopt.c -o pic/getopt.o; \
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/getopt.c -o getopt.o        
                  ../../libiberty/getopt.c: In
function `_getopt_initialize':                    
../../libiberty/getopt.c:396: warning: unused
parameter `argc'                 
../../libiberty/getopt.c:397: warning: unused
parameter `argv'                  if [ x"" != x ];
then \                                                
          gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/getopt1.c -o pic/getopt1.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/getopt1.c -o getopt1.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/getpwd.c -o pic/getpwd.o; \
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/getpwd.c -o getpwd.o        
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/getruntime.c -o
pic/getruntime.o; \         else true; fi             
                                                    
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/getruntime.c -o getruntime.o
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/hashtab.c -o pic/hashtab.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/hashtab.c -o hashtab.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/lrealpath.c -o
pic/lrealpath.o; \           else true; fi            
                                                     
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/lrealpath.c -o lrealpath.o  
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/make-relative-prefix.c -o
pic/make-relative-prefix.o; \                         
                                           else true;
fi                                                    
              gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/make-relative-prefix.c -o
make-relative-prefix.o                                
                                              if [ x""
!= x ]; then \                                        
                  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/make-temp-file.c -o
pic/make-temp-file.o; \ else true; fi                 
                                                 gcc
-c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/make-temp-file.c -o
make-temp-file.o           if [ x"" != x ]; then \    
                                                     
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/objalloc.c -o
pic/objalloc.o; \             else true; fi           
                                                      
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/objalloc.c -o objalloc.o    
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/obstack.c -o pic/obstack.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/obstack.c -o obstack.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/partition.c -o
pic/partition.o; \           else true; fi            
                                                     
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/partition.c -o partition.o  
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/physmem.c -o pic/physmem.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/physmem.c -o physmem.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/pex-unix.c -o
pic/pex-unix.o; \             else true; fi           
                                                      
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/pex-unix.c -o pex-unix.o    
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/sort.c -o pic/sort.o; \    
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/sort.c -o sort.o            
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/splay-tree.c -o
pic/splay-tree.o; \         else true; fi             
                                                    
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/splay-tree.c -o splay-tree.o
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/strerror.c -o
pic/strerror.o; \             else true; fi           
                                                      
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/strerror.c -o strerror.o    
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/strsignal.c -o
pic/strsignal.o; \           else true; fi            
                                                     
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/strsignal.c -o strsignal.o  
                  ../../libiberty/strsignal.c: In
function `psignal':                            
../../libiberty/strsignal.c:568: warning: comparison
between signed and unsigned                           
                                                    if
[ x"" != x ]; then \                                  
                        gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../libiberty/../include  -W -Wall
-Wtraditional -pedantic  ../../libiberty/ternary.c -o
pic/ternary.o; \               else true; fi          
                                                      
 gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/ternary.c -o ternary.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/xexit.c -o pic/xexit.o; \  
                else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/xexit.c -o xexit.o          
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/xmalloc.c -o pic/xmalloc.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/xmalloc.c -o xmalloc.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/xmemdup.c -o pic/xmemdup.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/xmemdup.c -o xmemdup.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/xstrdup.c -o pic/xstrdup.o;
\               else true; fi                         
                                         gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/xstrdup.c -o xstrdup.o      
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/xstrerror.c -o
pic/xstrerror.o; \           else true; fi            
                                                     
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/xstrerror.c -o xstrerror.o  
                  if [ x"" != x ]; then \             
                                             gcc -c
-DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../libiberty/mkstemps.c -o
pic/mkstemps.o; \             else true; fi           
                                                      
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../libiberty/mkstemps.c -o mkstemps.o    
                  rm -f libiberty.a pic/libiberty.a   
                                           ar rc
libiberty.a \                                         
                     regex.o cplus-dem.o cp-demangle.o
md5.o alloca.o argv.o choose-temp.o concat.o
dyn-string.o fdmatch.o fibheap.o floatformat.o
fnmatch.o getopt.o getopt1.o getpwd.o getruntime.o
hashtab.o hex.o lbasename.o lrealpath.o
make-relative-prefix.o make-temp-file.o objalloc.o
obstack.o partition.o physmem.o pex-unix.o
safe-ctype.o sort.o spaces.o splay-tree.o strerror.o
strsignal.o ternary.o xatexit.o xexit.o xmalloc.o
xmemdup.o xstrdup.o xstrerror.o  basename.o insque.o
mkstemps.o sigsetmask.o stpcpy.o stpncpy.o            
                                    ar: argv.o: No
such file or directory                                
          make[1]: *** [libiberty.a] Error 1          
                                   make[1]: Leaving
directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/build-binutils/libiberty'
                                                      
 make: *** [all-libiberty] Error 2                    
                          


--- Dan Kegel <dank@kegel.com> wrote:
> cathy cobb wrote:
> > I used below comand 
> > 
> > $ ./configure --target=m68k-coff --prefix=/bar -v
> > 
> > to configure.
> > 
> > 
> > I used below command to build
> > 
> > 
> > make all.
> 
> gcc doesn't like being configured in the source
> directory,
> perhaps binutils doesn't, either.  (I never
> configure it
> in the source directory, so I wouldn't know.)
> 
> Try
> 
> mkdir build
> cd build
> ../configure  --target=m68k-coff --prefix=/bar -v
> make all
> 
> to configure and build.  (BTW I haven't checked to
> see if that
> target is supported, nor what -v does, but I assume
> you know
> what you're doing.)
> - Dan
> 
> ------
> Want more information?  See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sources.redhat.com
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]