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


Some elaborations...

Kai Ruottu wrote:
> 
> Peter Barada wrote:
> >
`/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...

 Of course the compiler can first be installed using 'make install-gcc'...
 
>  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...

For instance:
--------------------- clip ------------------------------------------
*endfile:
crtend.o%s -T mvme162.ld%s

*link:


*lib:


*libgcc:


*startfile:
crtbegin.o%s

*switches_need_spaces:


*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}

*predefines:
-Dmc68000 -D__embedded__ -Asystem(embedded)   -Amachine(mc68000)

*cross_compile:
1

*version:
2.95.3-1
------------------------------- clip --------------------------

------
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]