Problems with the compilation of gnu cross linker on DG-UX
vikram
vikram@ftghome.com
Mon Jul 12 12:06:00 GMT 1999
Hi Friends !
I am trying to build a gcc 2.7.2.1 compiler along with binutils 2.7
for DG-UX running on m88k platform.
I have been able to compile gcc as a cross compiler running on
Linux as well as the cross linker and cross assembler .
I do the right output after the assembler ie the .o file is coming
out fine . I checked it out by using the native linker on DG on
this .o file and got the right output.
The problem with the cross linker is the libraries .
I have copied the required libraries from the area /usr/lib in the
target( DG) machine to the $(prefix)/$(TARGET)/lib area on the
host machine including the startup files.
This the error I am getting on trying to compile a simple program
hello.c on the linux mc using this cross compiler .
________gave the command ./gcc -v t.c ________
Reading specs from
/home/mathu/new/lib/gcc-lib/m88k-dg-coff/2.7.2.1/specs
gcc version 2.7.2.1
/home/mathu/new/lib/gcc-lib/m88k-dg-coff/2.7.2.1/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GN
UC_MINOR__=7 -Dm88000 -Dm88k -D__m88000__ -D__m88k__ -D__m88000 -D__m88k
-Acpu(m88k) -Amach
ine(m88k) -D__m88100__ t.c /tmp/cca32394.i
GNU CPP version 2.7.2.1 (88open OCS/BCS, $Revision: 1.67 $)
#include "..." search starts here:
#include <...> search starts here:
/home/mathu/new/lib/gcc-lib/m88k-dg-coff/2.7.2.1/include
/home/mathu/new/lib/gcc-lib/m88k-dg-coff/2.7.2.1/sys-include
/home/mathu/new/m88k-dg-coff/include
End of search list.
/home/mathu/new/lib/gcc-lib/m88k-dg-coff/2.7.2.1/cc1 /tmp/cca32394.i
-quiet -dumpbase t.c
-version -o /tmp/cca32394.s
GNU C version 2.7.2.1 (88open OCS/BCS, $Revision: 1.67 $) compiled by
GNU C version 2.7.2.3
More information about the crossgcc
mailing list