This is the mail archive of the gcc@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]

Missing "line-map.*" in gcc cvs repository


> While building the objects in the gcc subdirectory the compile failed because "line-map.h" was missing.  I imagine "line-map.c" is needed also.  Why aren't these files included with the cvs distribution.  Are there any other missing files?

>How are you downloading the repository, and how are you building it?

I use:
>
>cvs :pserver:anoncvs@gcc.gnu.org:/cvs/gcc login
>cvs -qz9 co -P gcc
>
>cvs :pserver:anoncvs@sources.redhat.com:/cvs/src login
>cvs -qz9 co -P src
>

# we should now have (2) directories:
# ./gcc and ./src
# rename src directory to "gnupowerpc"
mv src gnupowerpc
# now we should have ./gcc and ./gnupowerpc directories

# get rid of "libiberty" since we have it in ./gcc directory
cd gnupowerpc
rm -rf libiberty
cd ..

# copy needed ./gcc libraries to ./gnupowerpc directory
cd ./gcc
cp -a libf2c libffi libiberty libjava libobjc libstdc++-v3 ../gnupowerpc
cp -a INSTALL boehm-gc contrib fastjar gcc maintainer-scripts zlib ../gnupowerpc
cp -af include/* ../gnupowerpc/include
cd ..

# get rid of these in ./gnupowerpc directory
rm -rf ./gnupowerpc/sid
rm -rf ./gnupowerpc/tix
rm -rf ./gnupowerpc/rda

# now create a build directory
mkdir gnupowerpc-eabispe
cd gnupowerpc-eabispe
../gnupowerpc/configure -v \
--with-gnu-ld --with-gnu-as --with-gas \
--host=i686-pc-linux-gnu --target=powerpc-eabispe \
--build=i686-pc-linux-gnu --prefix=/usr/local/gnupowerpc \
--enable-languages=c,c++ \
--with-local-prefix=/usr/local/gnupowerpc/powerpc-eabispe

# now build everything (binutils, gcc, glibc, gdb, ...)
make all

# This is as far as I can go
# During the building of the gcc directory is where
# I get the ***error "line-map.h" no such file or directory
#

Thanks for your help
-- 
Sincerely,


Alan Brown
President
AWB Industrial & Ctrl Eng, Inc.
mailto: awbice@aol.com


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