Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Tom Wood
Wed, 15 Apr 1992 12:48
Re: DG AViiON gcc problems
Author: Tom Wood
Date: Wed, 15 Apr 1992 12:48
Date: Wed, 15 Apr 1992 12:48
63 lines
2735 bytes
2735 bytes
Dave Greenberg writes:
dg> The output from the final lines starting with the trailing parts of the
dg> make with the *********'s appended is as follows:
The output looks just fine. The only problem is you used the wrong commands
to compare the stage 2 and stage 3 objects. The INSTALL file says to do this:
On systems that use COFF object files, or an object file
format that is a superset of COFF (such as ECOFF or XCOFF), bytes
5 to 8 will always be different, since it is a timestamp. On
these systems, you can do the comparison as follows (in Bourne
shell):
for file in *.o; do
tail +10c $file > foo1
tail +10c stage2/$file > foo2
cmp foo1 foo2 || echo $file
done
##################################################
dg> in the process of the install i.e.:
dg> make CC=stage2/gcc install
dg>
dg> the following lines appear:
dg>
dg> cp ./byteorder.h .
dg> cp: ./byteorder.h and ./byteorder.h are identical
dg> *** Error code 2 (ignored)
dg>
dg> which do not worry me much (should they?)
I believe this is part of the "install-headers" step. GNU C is already
integrated into DG/UX, so there is no need for this step. One way to
suppress this step is to apply this change:
*** config/x-m88kdgux.orig Tue Apr 7 17:27:28 1992
--- config/x-m88kdgux Wed Apr 15 08:42:59 1992
***************
*** 3,4 ****
--- 3,5 ----
INSTALL = cp
X_CFLAGS = -D_M88KBCS_TARGET
+ INSTALL_HEADERS =
###################################################
dg> when I try to compile a program (which I wrote so it could be horrible,
dg> but it compiles and runs fine under gcc 1.37 as delivered with the
dg> AViiON and other C compilers), I get the following error:
dg>
dg> symbol in file
dg> ___iob felinprp.o
dg> ld fatal: Symbol referencing errors. No output written to a.out
dg>
dg> I do not reference anything called iob. A grep -i iob * comes up
dg> empty.
You are still compiling in the m88kbcs target environment. One of the
things you must do is to explicitly supply the -D_M88KBCS_TARGET option
when you compile. For more on this, take a look at "Porting Applications
to the DG/UX System".
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads