help with linux-sunos4 cross

fred anger
Wed Jul 28 17:09:00 GMT 1999

Hi.  I am trying to build a linux-to-sunos4 cross gcc/g++.  I have built
the cross binutils and applied the crossgcc patch to my gcc source
(2.8.1), and most of it builds ok until it tries to build g++.  I get
the following error:

gcc -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H  -o g++ g++.o
g++spec.o prefix.o \
  version.o choose-temp.o pexecute.o  obstack.o ` case "gcc" in "cc")
echo "" ;; esac `  
/usr/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [g++] Error 1

Does anyone know how to fix this and get the cross g++ to build?  Thank
you for your time.

New CrossGCC FAQ:
To remove yourself from the crossgcc list, send
mail to with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list