This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi (again) all,
I am trying to build newlib under cygwin for an m68k-coff
target. However it fails to find a makefile for the libgloss/m68k
subdirectory. See below:
m68k-coff-ranlib libnosys.a
make[4]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-newl
ib/m68k-coff/m68000/libgloss/libnosys'
make[4]: Entering directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-new
lib/m68k-coff/m68000/libgloss/m68k'
make[4]: *** No targets specified and no makefile found. Stop.
make[4]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-newl
ib/m68k-coff/m68000/libgloss/m68k'
make[3]: *** [stmp-bsp] Error 2
make[3]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-newl
ib/m68k-coff/m68000/libgloss'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-newl
ib/m68k-coff/libgloss'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/build-newl
ib/m68k-coff/libgloss'
make: *** [all-target-libgloss] Error 2
Building libc failed
One other curiousity I note. When building in the each of the
newlib subdirectories:
rm -f libm.a
rm -rf tmp
mkdir tmp
cd tmp; \
for i in math/lib.a common/lib.a machine/lib.a; do \
m68k-coff-ar x ../$i; \
done; \
m68k-coff-ar rc ../libm.a *.o
m68k-coff-ar: ../machine/lib.a: No such file or directory <--- Is this
bad?
m68k-coff-ranlib libm.a
rm -rf tmp
make[4]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/crossgcc/bl/m68k-co
ff/m68040/newlib/libm'
Thanks to all,
Regards,
Bruce A.
Note: My previous problem newlib not building at all
(for anyone else who may suffer from it) seems to have been
corrected by one of several things (I'll have to go back and check
which later).
a) Building under the bash shell rather than DOS
- not sure what this would fix as DOS immediately goes into bash
b) Allowing newlib to guess the host setting instead of forcing it
to i686-pc-cygwin (which is necessary for gcc & binutils)
c) Deleting the directory targeted by --prefix
============================================================================
Any opinions expressed in this e-mail are those of the individual and not
necessarily those of Tyco Electronic Product Group.
Any prices for the supply of goods or services are only valid if supported
by a formal written quotation.
This e-mail and any files transmitted with it, including replies and
forwarded copies (which may contain alterations) subsequently transmitted
from Tyco Electronic Product Group are confidential and solely for the use
of the intended recipient.
If you are not the intended recipient or the person responsible for
delivery to the intended recipient, be advised that you have received this
e-mail in error and that any use is strictly prohibited. In this event,
please notify us via e-mail at 'helpdesk.tepg@tycoint.com' or telephone on
0121 255 6499 and then delete the e-mail and any copies of it.
============================================================================
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |