Sample directory structure

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Sat Sep 5 19:08:00 GMT 1998


> Could someone draw me a picture :-) ?

Without having actually tried, here's how I'd proceed:

- unpack egcs, to egcs-src
- unpack binutils. 
  mv bfd binutils gas gprof ld opcodes egcs-src 
  not_sure_what_todo_with config etc include libiberty texinfo
  #you certainly need the include stuff, the config stuff should be
  #identical. You probably copy those binutils directories over to
  #the egcs directory
  (see the toplevel Makefile for subdirectories that are supported)
- make a number of build directories, one for each target
- in egcs-hpux, do
  ./configure --prefix=/ecad/contrib
  make
  make install

The cross-compilers will 'just work', since they already call
themselves all different.

Hope this helps,
Martin



More information about the Gcc mailing list