* building crossgcc for m68k-coff
@ 2000-10-12 3:53 ron tal
2000-10-12 4:41 ` Alexandre Oliva
0 siblings, 1 reply; 4+ messages in thread
From: ron tal @ 2000-10-12 3:53 UTC (permalink / raw)
To: crossgcc
my goal: build cross compiler for m68-coff in UNIX machine
"One Pass Intallation" is the method I am using for configure/build/install
gcc.
what I have after running the one-time script:
/home/users/ronenl/usr/local/src/
bfd/
binutils/
config/
... and more/
opcodes/
newlib/
texinfo/
what I did next: (as told)
mkdir build
cd build
../src/configure --target=m68k-coff --prefix=/bar
Q: I dont really know what is the purpose of prefix. (did I put the right
value?)
now, I did:
make all install
and I got the Errors:
make all install
make[1]: Entering directory `/home/users/ronenl/usr/local/build/libiberty'
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include
../../src/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include
../../src/libiberty/choose-temp.c
../../src/libiberty/choose-temp.c:29: stdio.h: No such file or directory
../../src/libiberty/choose-temp.c:30: sys/types.h: No such file or
directory
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/home/users/ronenl/usr/local/build/libiberty'
make: *** [all-libiberty] Error 2
Q: where stdio.h is located, and what sjould I do to make it work?
thanx, ronen.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
Share information about yourself, create your own public profile at
http://profiles.msn.com .
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: building crossgcc for m68k-coff
2000-10-12 3:53 building crossgcc for m68k-coff ron tal
@ 2000-10-12 4:41 ` Alexandre Oliva
2000-10-12 6:25 ` building gcc for MacOS X Frank Meurer
0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Oliva @ 2000-10-12 4:41 UTC (permalink / raw)
To: ron tal; +Cc: crossgcc
On Oct 12, 2000, "ron tal" <tal347@hotmail.com> wrote:
> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include
> ../../src/libiberty/choose-temp.c
> ../../src/libiberty/choose-temp.c:29: stdio.h: No such file or directory
> ../../src/libiberty/choose-temp.c:30: sys/types.h: No such file or directory
You're missing header files in the *build* system. What OS are you
running, that doesn't have these header files in /usr/include?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* building crossgcc for m68k-coff
@ 2000-10-15 3:21 ron tal
0 siblings, 0 replies; 4+ messages in thread
From: ron tal @ 2000-10-15 3:21 UTC (permalink / raw)
To: crossgcc
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?
some backround:
I am building a cross-compiler for m68k-coff on sun_sparc_2.6
My directory looks like that:
/home/users/ronenl/cross-gcc/
bar/ - empty
binutils-2.9.1/ - unpacked
newlib-1.8.2/ - unpacked
gdb-5.0/ - unpacked
gcc-2.95.2/ - unpacked
build-binutils - empty
what I did so far?
cd build-binutils
../binutils-2.9.1/configure --target=m68k-coff --prefix=/bar -v
this was successfully completed.
next, I did:
make all install
which failed.
thanx, ronen.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
Share information about yourself, create your own public profile at
http://profiles.msn.com .
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-15 3:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-12 3:53 building crossgcc for m68k-coff ron tal
2000-10-12 4:41 ` Alexandre Oliva
2000-10-12 6:25 ` building gcc for MacOS X Frank Meurer
2000-10-15 3:21 building crossgcc for m68k-coff ron tal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).