This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I've seen the same kinds of things. The problem is likely that you have to do a 'make all' before the 'make install'. Incredibly, some of the makefiles will try to install things that haven't been built. -brian >-----Original Message----- >From: Robert J. Brown [SMTP:rj@eli.elilabs.com] >Sent: Wednesday, February 04, 1998 5:26 PM >To: crossgcc@cygnus.com >Cc: rj@eli.elilabs.com >Subject: problem building binutils host=linux target=m68k-coff > >I ftp-ed the binutils-2.7.tar.gz from prep.ai.mit.edu, and >binutils-2.6-obj-coff.patch from ftp.cygnus.com, unpacked the tar and >applied the patches as directed by the FAQ from >/ftp.cygnus.com:/pub/embedded/crossgcc, and did the make all. This >worked fine, but when I did the make install, I got the following: > > make[2]: Entering directory `/away/zen/gnu/build-binutils/libiberty' > make[2]: Leaving directory `/away/zen/gnu/build-binutils/libiberty' > /away/zen/gnu/binutils-2.7/install.sh -c -m 644 libiberty.a >m68k/lib/libiberty.a.n > ( cd m68k/lib ; ranlib m68k/lib/libiberty.a.n ) > ranlib: m68k/lib/libiberty.a.n: No such file or directory > make[1]: *** [install_to_libdir] Error 9 > make[1]: Leaving directory `/away/zen/gnu/build-binutils/libiberty' > make: *** [install-libiberty] Error 2 > >The cd on the 4th line looks like it is trying to cd to the m68k/lib >directory, but then tries to run ranlib on m68k/lib/libiberty.a.n, >when it looks to me like it should have been just libiberty.a.n, since >it already did the cd m68k/lib. > >Am I just dense, or is the make install scrogged? > >Also, the FAQ seems to refer to versions older than current for the >gnu tolls binutils and gcc. Should I be using the latest versions, or >is there a real reason to stay with the older ones? > >-- >-------- "And there came a writing to him from Elijah" [2Ch 21:12] >-------- >Robert Jay Brown III rj@eli.elilabs.com http://www.elilabs.com 1 847 >705-0424 >Elijah Laboratories Inc.; 37 South Greenwood Avenue; Palatine, IL >60067-6328 >----- M o d e l i n g t h e M e t h o d s o f t h e M i n d >------