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


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

Fatal Error on making GDB on host sparc with target m68k !?


Hello,
In the past, I have already made gdb-5.0 with these command :

    configure --host=sparc-sun-solaris2.6 --target=m68k-coff
--prefix=/home/millot/sparc
    make
    make install

and it works fine.

Now, the make command displays :

    -I../../../gdb-5.0_CS/gdb/../bfd
-I../../../gdb-5.0_CS/gdb/../include  -I../intl
-I../../../gdb-5.0_CS/gdb/../intl
    -I../../../gdb-5.0_CS/gdb/tui   -DUSE_INCLUDED_REGEX
../../../gdb-5.0_CS/gdb/monitor.c
    make: Fatal error: Don't know how to make target `remote-est.o'
    Current working directory
/home/millot/develop/gdbdev/build_CS1/m68k/gdb
    *** Error code 1
    make: Fatal error: Command failed for target `all-gdb'

With host=i686-pc-linux-gnu , no error occurs.

I have made diff of the config.status ans config.cache and tools which
are used, seems to be same.
I doesn't know if tools have changed?
So someone have an idea ?

I make an add on Makefile.in in /gdb-5.0/gdb like that :
    # FIXME: for the m68k target B Millot 2000-12-14
    remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) target.h \
             monitor.h serial.h
    cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) target.h \
             monitor.h serial.h
    abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) target.h \
             monitor.h serial.h
    dbug-rom.o: dbug-rom.c  $(defs_h) $(gdbcore_h) target.h \
             monitor.h serial.h
    # end FIXME.
That works but i want to knows

    1 if it is the good way
    2 why this is needed now and not before ?
    3 why the generation for host GNU/Linux doesn't need "file
dependances"

Thanks a lot.

                                                                Benoît



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