This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: [crossgcc]building crossgcc for m68k-coff


On Sun, Oct 15, 2000 at 10:21:26AM +0000, ron tal wrote:
> This is the output when I am doing:
> 
> make all install
> 
> 
> -DHAVE_CONFIG_H -I. -I../../binutils-2.9.1/ld -I. -D_GNU_SOURCE -I. 
> -I../../binutils-2.9.1/ld -I../bfd -I../../binutils-2.9.1/ld/../bfd 
> -I../../binutils-2.9.1/ld/../include  -g -O2  -g -O2 -c em68kcoff.c
> /bin/sh ./libtool --mode=link gcc -g -O2  -o ld-new  ldgram.o ldlex.o 
> lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o 
> ldmisc.o ldfile.o ldcref.o em68kcoff.o ../bfd/libbfd.la 
> ../libiberty/libiberty.a
> gcc -g -O2 -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o 
> ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o 
> em68kcoff.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
> make[1]: Leaving directory `/home/users/ronenl/gcc-cross/build-binutils/ld'
> /bin/sh ../binutils-2.9.1/mkinstalldirs /bar /bar
> mkdir /bar
> mkdir /bar
> make: *** [installdirs] Error 2
> 
> Q: what seems to be the problem?

try a mkdir /bar on the prompt and see if that succeeds - I guess you're
not root (sensible, that is!) and you may not make directories in /

<snip>
> ../binutils-2.9.1/configure --target=m68k-coff --prefix=/bar -v

I would try it without the / in front of /bar - it leads to interesting
errors, like the one you see now.

Good luck,
Jurriaan
-- 
Learn to be wary of Japanese and Norwegians carrying spears.
Anything that's warm-blooded and swims is fair game to them.
        Forty-two things to do as preparation for life as a mermaid.
GNU/Linux 2.2.18pre15 SMP 2x1117 bogomips load av: 4.16 2.67 1.82

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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