Cross gcc Mailing List Archive

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

GNU for 68K in dos



I'm trying to have the GNU developement system 
running in DOS producing code for a 68K (BCC332) 
system.

I have read the FAQ ( version 7) and decided to 
use the Canadian cross. I downloaded

GCC	- 2.7.2
NEWLIB	- 1.7.0
BINUT	- 2.6
GDB	- 4.16

I applied the cygnus patches, using the -p1 option.
The GCC patch applied OK.
The binutils-2.6-obj-coff patch came back and asked
for a file name. I looked at the patch and found 
the file it refrred to (obj-coff.c), went to that 
subdirectory and did the patch again, now the patch
works.

In the 3 way script I changed the following lines

	build=i586-unknown-linux
	host=i386-go32
	target=m68k-coff

 ( sidetrack - to work with GDB using BDM should I use
	coff).
 and ran the script.

It ran for a few hours. It seemd to move through the first
2 passes with no problems 

Links are now set up to build a cross-compiler for 
i386-unknown-go32
  from i586-unknown-linux.
...
Links are now set up to build a cross-compiler for 
m68k-unknown-coff
  from i586-unknown-linux.
...
Links are now set up to build a cross-compiler for 
m68k-unknown-coff
  from i386-unknown-go32 on a i586-unknown-linux system.
...
Then

/GNU_272/b-i586-unknown-linux-x-i386-go32/gcc/xgcc 
-B/GNU_272/b-i586-unknown-linux-x-i386-
go32/gcc/ -isystem 
/GNU_272/b-i586-unknown-linux-x-i386-go32/i386-go32/newlib/
targ-include -
isystem /GNU_272/src/newlib/libc/include -DCROSS_COMPILE 
-DIN_GCC   -O2 -fno-omit-frame-
pointer   -o protoize \
  protoize.o getopt.o getopt1.o getpwd.o version.o 
obstack.o ` case "/GNU_272/b-i586-unknown-
linux-x-i386-go32/gcc/xgcc 
-B/GNU_272/b-i586-unknown-linux-x-i386-go32/gcc/ -isystem
/GNU_272/b-i586-unknown-linux-x-i386-go32/i386-go32/newlib/
targ-include -isystem
/GNU_272/src/newlib/libc/include" in "cc") echo "" ;; esac 
`
protoize.o(.text+0x1558):protoize.c: undefined reference to 
`_vfork'
protoize.o(.text+0x158b):protoize.c: undefined reference to 
`_wait'
make[1]: *** [protoize] Error 1
make[1]: Leaving directory 
`/GNU_272/b-i386-go32-x-m68k-coff/gcc'
make: *** [all-gcc] Error 2

That where it died.
Is there a patch I didn't do? an option I didn't set?
or a file I'm missing?

BTW
I got the archieve of this list but didn't see any 
mention of this problem. Not a good sign for me.

Thanks for any help.
	Clueless and totally new to GNU and Makefiles,
	but I can learn.


Home | Subject Index | Thread Index