This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Configuration additions for vxworks
- From: Sean McNeil <sean at mcneil dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 20 Feb 2003 13:53:31 -0800
- Subject: Configuration additions for vxworks
- Organization: Sean McNeil Consulting
The following additions were required for me to build a mips-based cross
compiler to vxWorks:
diff -c -3 -p -r1.16798 ChangeLog
*** gcc/ChangeLog 20 Feb 2003 19:31:21 -0000 1.16798
--- gcc/ChangeLog 20 Feb 2003 21:51:44 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-02-20 Sean McNeil <sean at blue dot mcneil dot com>
+
+ * config.gcc: Add support for vxworks targets. Define
mips*-*-vxworks*
+ to be an elf-based target. Do not include svr4.h for vxworks
targets.
+
2003-02-20 David Edelsohn <edelsohn at gnu dot org>
* config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
Index: gcc/config.gcc
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.283
diff -c -3 -p -r1.283 config.gcc
*** gcc/config.gcc 10 Feb 2003 11:45:23 -0000 1.283
--- gcc/config.gcc 20 Feb 2003 21:51:47 -0000
*************** case $machine in
*** 483,489 ****
;;
*-*-vxworks*)
tmake_file=t-vxworks
! tm_file="${tm_file} elfos.h svr4.h vxworks.h"
thread_file='vxworks'
use_collect2=yes
xm_defines=POSIX
--- 483,489 ----
;;
*-*-vxworks*)
tmake_file=t-vxworks
! tm_file="${tm_file} elfos.h vxworks.h"
thread_file='vxworks'
use_collect2=yes
xm_defines=POSIX
*************** xtensa-*-linux*)
*** 2680,2685 ****
--- 2680,2687 ----
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h
xtensa/linux.h"
tmake_file="t-linux xtensa/t-xtensa xtensa/t-linux"
;;
+ *-*-vxworks*)
+ ;;
*)
echo "*** Configuration $machine not supported" 1>&2
exit 1
*************** hppa*-*-* | parisc*-*-*)
*** 2830,2836 ****
;;
mips*-*-*)
case $machine in
! mips*-*-ecoff* | mips*-*-elf*)
if test x$gas = xyes
then
if test x$gnu_ld = xyes
--- 2832,2838 ----
;;
mips*-*-*)
case $machine in
! mips*-*-ecoff* | mips*-*-elf* | mips*-*-vxworks*)
if test x$gas = xyes
then
if test x$gnu_ld = xyes