public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* porting gcc version 2.72
@ 2003-01-29 19:01 Roger.Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Roger.Gough @ 2003-01-29 19:01 UTC (permalink / raw)
  To: gcc-help

Hi All,

	I am looking for some help in porting GCC version 2.7.2 to a dsp
processor. I have the necessary machine description files, i.e
dsp16xx.c,dsp16xx.h, and dsp16xx.md.

	I start of in my source directory and do my configuration as
follows:

roger_gough@Craggy:~/gcc-2.7.2> ./configure --target=dsp16xx
This appears to be a i686-unknown-linux system.
Using `./config/dsp16xx/dsp16xx.c' to output insns.
Using `./config/dsp16xx/dsp16xx.md' as machine description file.
Using `./config/dsp16xx/dsp16xx.h' as target machine macro file.
Using `./config/i386/xm-linux.h' as host machine macro file.
Merged x-linux.
Merged c++ fragment(s).
Created `./Makefile'.
Merged x-linux.
Created `cp/Makefile'.
Links are now set up to build a cross-compiler for dsp16xx-unknown-none
  from i686-unknown-linux.

	The configuration seems to be ok. I then move into my object
directory which is a subdirectory of my source directory to try and build my
port:

roger_gough@Craggy:~/gcc-2.7.2> cd objc
roger_gough@Craggy:~/gcc-2.7.2/objc> make

	However, at this point I get the following errors:

make[1]: *** [gcc.o] Error 1
make[1]: Leaving directory `/home/roger_gough/gcc-2.7.2'
make: *** [all] Error 2

1. Are these make errors problems with my code or do they arise because i am
attempting to build the port incorrectly?
2. Is it ok to have an object directory as a subdirectory of a source
directory as i did above?
3. I am using SuSe linux 8.0 which already has version GCC 3.2 running on
it. Should there be issues with trying to port GCC version 2.72?

I am new to GCC, which is probably obvious from above, but I would be very
grateful for any help. Thanks in advance.

Rgds

Roger.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-30  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <616BE6A276E3714788D2AC35C40CD18DA0BD60@whale.softwire.co.uk>
2003-01-30  9:27 ` porting gcc version 2.72 Rupert Wood
2003-01-29 19:01 Roger.Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).