cross i586-linux to m68k-coff problem

Robert J. Brown rj@eli.elilabs.com
Fri Feb 6 19:57:00 GMT 1998


Using the onetree method, and compiling with gcc-2.7.2, I get the
following failue when making:

    gcc -O2 -c -DCROSS_COMPILE -DIN_GCC   -g     -I. -I../../src/gcc -I../../src/gcc/config ../../src/gcc/rtl.c
    gcc -O2 -DCROSS_COMPILE -DIN_GCC   -g   -o genattr \
     genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc -O2"@"" in "cc"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
    ./genattr ../../src/gcc/config/m68k/m68k.md > tmp-attr.h
    /bin/sh: ./genattr: No such file or directory
    make[1]: *** [stamp-attr] Error 126
    make[1]: Leaving directory `/away/zen/gnu/cross/build/gcc'
    make: *** [all-gcc] Error 2

But both files are present:

    bash$ pwd
    /away/zen/gnu/cross/build
    bash$ cd gcc
    bash$ ls -l genattr
    -rwxr-xr-x   1 rj       users       47036 Feb  6 21:30 genattr
    bash$ ls -l  ../../src/gcc/config/m68k/m68k.md
    -r--r--r--   1 rj       users      201782 Nov  7  1995 ../../src/gcc/config/m68k/m68k.md
    bash$ 

So what gives?  Any ideas?

I also need to build PPC and sparc targets, with MIPS likely in the
future.  I am working on a distributed networked project, and
executables need to run on multiple targets, but building takes place
on a single linux box.  I have not yet tried the other targets.  The
linux and sparc will run under Unix, but the others will be "bare
bones".

BTW I built the gcc-2.7.2 for native linux using the onetree method
also, but since it runs under linux, will the use of newlib cause
problems?  Just a thought...

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III rj@eli.elilabs.com  http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------



More information about the crossgcc mailing list