make error
Roger.Gough
Roger.Gough@ul.ie
Thu Jun 5 10:14:00 GMT 2003
Hi All,
I am porting gcc version 3.2.2 to a new architecture called npe. I wrote my
target files as basic as I could just so that I could get an non-optimal
output to start off with. I took the header files from /usr/include on my
host system and placed them in /home/rgough/gcc-3.2.2-prefix/npe/include.
(Note my prefix directory is set to /home/rgough/gcc-3.2.2-prefix)
I moved into my object directory and configured as follows:
[rgough@rgough2 gcc-3.2.2-objdir-npe]$ /home/rgough/gcc-3.2.2/configure
--target=npe --enable-languages=c
--prefix=/home/rgough/gcc-3.2.2-prefix
--with-headers=/home/rgough/gcc-3.2.2-prefix/npe/include
Unfortunately when I build, I get the following error (I have only added the
last few lines, however the full script can be put up for anybody who wants
it):
/home/rgough/gcc-3.2.2-objdir-npe/gcc/xgcc
-B/home/rgough/gcc-3.2.2-objdir-npe/gcc/
-B/home/rgough/gcc-3.2.2-prefix/npe/bin/
-B/home/rgough/gcc-3.2.2-prefix/npe/lib/ -isystem
/home/rgough/gcc-3.2.2-prefix/npe/include -dumpspecs > tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
/home/rgough/gcc-3.2.2-objdir-npe/gcc/xgcc
-B/home/rgough/gcc-3.2.2-objdir-npe/gcc/
-B/home/rgough/gcc-3.2.2-prefix/npe/bin/
-B/home/rgough/gcc-3.2.2-prefix/npe/lib/ -isystem
/home/rgough/gcc-3.2.2-prefix/npe/include -S tmp-dum.c
tmp-dum.c: Not a directory
make[1]: *** [s-under] Error 1
make[1]: Leaving directory `/home/rgough/gcc-3.2.2-objdir-npe/gcc'
make: *** [all-gcc] Error 2
tmp-dum.c is a file created in the folder
/home/rgough/gcc-3.2.2-objdir-npe/gcc/. Why does it think it is a directory?
Also how much more compiling is left at this stage.? It has already compiled
everything in the source directory.
I would be grateful for any suggestions as of how I could remove this error,
it is really baffling me. Thanks in advance.
Kind Regards
Roger
More information about the Gcc
mailing list