native gcc/binutils on VMS/Alpha

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

 



Well this is pretty cool, though not quite there yet.


bash$ gcc -B . ../../ech.c -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=./lto-wrapper.exe
Target: alpha-dec-vms
Configured with: /src/gcc-4.5.0/configure -enable-static -disable-shared -enable
-sjlj-exceptions -target=alpha-dec-vms -host=alpha-dec-vms -verbose -disable-fix
includes
Thread model: single
gcc version 4.5.0 (GCC) 
COLLECT_GCC_OPTIONS='-B' '.' '-v'
 ./cc1.exe -quiet -v ../../ech.c -quiet -dumpbase ech.c -auxbase ech -version -o
 /sys$scratch/ccVUfLjR.s
GNU C (GCC) version 4.5.0 (OpenVMS/Alpha)
    compiled by GNU C version 4.5.0, GMP version 4.3.2, MPFR version 2.4.2, 
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
cc1.exe: error: /gnu/local/include: file specification syntax error
cc1.exe: error: /gnu/include: file specification syntax error
cc1.exe: error: /usr/local/lib/gcc/alpha-dec-vms/4_5_0/include: file specificati
on syntax error
cc1.exe: error: /usr/local/lib/gcc/alpha-dec-vms/4_5_0/include-fixed: file speci
fication syntax error
cc1.exe: error: /usr/local/alpha-dec-vms/include: file specification syntax erro
r
cc1.exe: error: /gnu/include: file specification syntax error
#include "..." search starts here:
#include <...> search starts here:
End of search list.

cc1.exe: out of memory allocating 3998941185 bytes
COLLECT_GCC_OPTIONS='-B' '.' '-v'
 ./as.exe -o /sys$scratch/ccznCnRX.obj /sys$scratch/ccVUfLjR.s
COMPILER_PATH=./
LIBRARY_PATH=./
COLLECT_GCC_OPTIONS='-B' '.' '-v'
 ./ld.exe vms-dwarf2eh.o -v pcrt0.o crtbegin.o -L. /sys$scratch/ccznCnRX.obj -lg
cc crtend.o
GNU ld (GNU Binutils) 2.20.51.20100508
./ld.exe: cannot find vms-dwarf2eh.o: no such file or directory
./ld.exe: cannot find pcrt0.o: no such file or directory
./ld.exe: cannot find crtbegin.o: no such file or directory
./ld.exe: cannot find crtend.o: no such file or directory


Now I need to:
  configure -prefix somehow, to be $HOME/gnu, crossing to VMS. :) 
  configure how gcc finds cc1, how cc1 finds headers, how ld finds libraries..


(gxx works too, though unzip had called it g__.exe.)


bash$ gcc -v  -B . -S hello.c .c
gcc: .c: no such file or directory
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=./lto-wrapper.exe
Target: alpha-dec-vms
Configured with: /src/gcc-4.5.0/configure -enable-static -disable-shared -enable
-sjlj-exceptions -target=alpha-dec-vms -host=alpha-dec-vms -verbose -disable-fix
includes
Thread model: single
gcc version 4.5.0 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-B' '.' '-S'
 ./cc1.exe -quiet -v hello.c -quiet -dumpbase hello.c -auxbase hello -version -o
 hello.s
GNU C (GCC) version 4.5.0 (OpenVMS/Alpha)
    compiled by GNU C version 4.5.0, GMP version 4.3.2, MPFR version 2.4.2, 
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
cc1.exe: error: /gnu/local/include: file specification syntax error
cc1.exe: error: /gnu/include: file specification syntax error
cc1.exe: error: /usr/local/lib/gcc/alpha-dec-vms/4_5_0/include: file specificati
on syntax error
cc1.exe: error: /usr/local/lib/gcc/alpha-dec-vms/4_5_0/include-fixed: file speci
fication syntax error
cc1.exe: error: /usr/local/alpha-dec-vms/include: file specification syntax erro
r
cc1.exe: error: /gnu/include: file specification syntax error
#include "..." search starts here:
#include <...> search starts here:
End of search list.

cc1.exe: out of memory allocating 4078632961 bytes
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000036
A009, PC=0000000000070118, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
  image    module    routine             line      rel PC           abs PC      
%DEBUG-E-INTERR, debugger error in TBKIMAGE\READ_ALPHA_IMAGE_HEADER invalid DST 
VBN or session corruption
 GCC                                        0 0000000000060118 0000000000070118
                                            0 FFFFFFFF802594DC FFFFFFFF802594DC
Bus error


bash$ ./as -v
./as: option `-v' is ambiguous
bash$ ./as --version
GNU assembler (GNU Binutils) 2.20.51.20100508
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `alpha-dec-vms'.

bash$ ./ld -V
GNU ld (GNU Binutils) 2.20.51.20100508
  Supported emulations:
   alphavms


:)


 - Jay
 		 	   		  


[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