This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't build gcc-2.95.3 with g++ for m68k-elf


Kai Ruottu schrieb:
> 
> Peter Barada wrote:
> >
> > -tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/gcc/xgcc -B/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/gcc/ -B/tmp/crap-g++-2.95.3/m68k-elf/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=m68k-elf-nm" "RANLIB=m68k-elf-ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS="
> > make[2]: Entering directory `/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj-crap-g++-2.95.3/m68k-elf/build-gcc/m68k-elf/libiberty'
> > make[2]: *** No targets specified and no makefile found.  Stop.
> 
>  Before the new 'xgcc' etc. can compile and link, the compiler must be put to work.
> Trying to compile and link a simple "Hello World" will help to see the problem.
> Options like '-v' and '-Wl,-verbose' on the 'xgcc' command line will show more
> things...
> 
>  The 'm68k-coff/elf' don't have a default target board, so the 'specs' and maybe
> the linker script for the added default target board must be edited... The link,
> lib, endfile, startfile and libgcc specs must be edited to be sane... Then the
> 'compiler' should work and the 'libiberty'-configure can succeed...
> 
> Regards, Kai
> 

Is there any documentation available how to make a "running" m68k
compiler without manual action? I tried to find out from the sources how
to do it, but gcc sources / configuration scripts are too hard for me.
The problem hurts most if you start to build the cross toolchains from
scratch (building newlib-1.10.0 stops with the same error). I would like
to build a patch to the gcc sources so gcc builds for a "dummy" 68k
target or if you have your board support package already, to build a
libgloss for that target. As a start point for learning the build could
generate a working compiler for one of these VME boards in the 68k
libgloss directory.

Wolfgang
   
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]