This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

porting gcc version 2.72


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.


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