m68k-coff build error
Jerry Hicks
jhicks@atlanta.glenayre.com
Thu Feb 5 06:06:00 GMT 1998
I'm having a similar problem that manifests itself differently on my FreeBSD host.
Installing an older version of gas let me get past it. I suspect that the new gas is
having some m68k difficulties?
Cheers,
Jerry Hicks
jhicks@atlanta.glenayre.com
Robert J. Brown wrote:
>
> Building a cross-gcc: host=i586-linux, target=m68k-coff, I get the
> following when I do make all:
>
> cd /away/zen/gnu/build-newlib/
> make all
> ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -I./include -c ../gcc-2.7.2.2/libgcc1-test.c
> Testing libgcc1. Ignore linker warning messages.
> ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -I./include libgcc1-test.o -o libgcc1-test \
> -nostartfiles -nostdlib `./xgcc -B./ --print-libgcc-file-name`
> cc -DCROSS_COMPILE -DIN_GCC -g -I. -I../gcc-2.7.2.2 -I../gcc-2.7.2.2/config -o g++-cross \
> -DGCC_NAME=\"`t='-e s,^,m68k-coff-,'; echo gcc | sed $t`\" ../gcc-2.7.2.2/cp/g++.c version.o obstack.o ` case "cc" in "cc") echo "" ;; esac `
> In file included from /usr/include/fcntl.h:28,
> from /usr/include/sys/file.h:6,
> from ../gcc-2.7.2.2/cp/g++.c:44:
> /usr/include/gnu/types.h:115: warning: `__FD_SETSIZE' redefined
> /usr/include/linux/posix_types.h:33: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:118: warning: `__NFDBITS' redefined
> /usr/include/linux/posix_types.h:30: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:120: warning: `__FDMASK' redefined
> /usr/include/linux/posix_types.h:42: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:129: warning: `__FD_ZERO' redefined
> /usr/include/asm/posix_types.h:61: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:130: warning: `__FD_SET' redefined
> /usr/include/asm/posix_types.h:41: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:131: warning: `__FD_CLR' redefined
> /usr/include/asm/posix_types.h:46: warning: this is the location of the previous definition
> /usr/include/gnu/types.h:132: warning: `__FD_ISSET' redefined
> /usr/include/asm/posix_types.h:54: warning: this is the location of the previous definition
> cc1: Invalid option `68020'
> make: *** [g++-cross] Error 1
>
> Compilation exited abnormally with code 2 at Wed Feb 4 23:56:02
>
> The problem is the "cc1: Invalid option `68020'" error, not the
> warnings. Whatever can the matter be? Any ideas? Thanks!
>
> --
> -------- "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