ranlib, not searched at the right place

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Goal: compile DOS 32 bits program in Linux because many scripts use bash

Not sure I am on the right track.



Non-finish attempt: use Delorie djcrx205.zip, but instructions were quite complex, and

about tools in 2001, and give up



Then found: https://wiki.osdev.org/GCC_Cross-Compiler

at first not realizing it is for an other goal (building a kernel that boot under Grub)...

but I adapted by removing --without-headers... because I intend to compile "true" programs.



I had to install, like indicated, an older version of texinfo (version 4.13a -- latest before 5.0) for finishing:

make all-gcc



But I now get:

LANG=C make all-target-libgcc

result in:

sh /home/paul/Téléchargements/gcc-11.1.0/libgcc/../move-if-change $dest ../.././gcc/include/unwind.h

# Now that we have built all the objects, we need to copy

# them back to the GCC directory.  Too many things (other

# in-tree libraries, and DejaGNU) know about the layout

# of the build tree, for now.

make install-leaf DESTDIR=../.././gcc \

  slibdir= libsubdir= MULTIOSDIR=.

make[2]: Entering directory '/home/paul/src/build-gcc/i386-pc-msdosdjgpp/libgcc'

/bin/bash /home/paul/Téléchargements/gcc-11.1.0/libgcc/../mkinstalldirs ../.././gcc

/usr/bin/install -c -m 644 libgcc.a ../.././gcc/

chmod 644 ../.././gcc/libgcc.a

/home/paul/opt/cross/i386-pc-msdosdjgpp/bin/ranlib ../.././gcc/libgcc.a

/bin/bash: line 1: /home/paul/opt/cross/i386-pc-msdosdjgpp/bin/ranlib: No such file or directory

make[2]: *** [Makefile:1175: install-leaf] Error 127

make[2]: Leaving directory '/home/paul/src/build-gcc/i386-pc-msdosdjgpp/libgcc'

make[1]: *** [Makefile:120: all] Error 2

make[1]: Leaving directory '/home/paul/src/build-gcc/i386-pc-msdosdjgpp/libgcc'

make: *** [Makefile:13182: all-target-libgcc] Error 2

paul@kasparno:~/src/build-gcc$ apt search ranlib

En train de trier... Fait

Recherche en texte intégral... Fait

nvptx-tools/hirsute 0.20180301-1build1 amd64

  collection of tools for use with nvptx-none GCC toolchains



paul@kasparno:~/src/build-gcc$ 

paul@kasparno:~/src/build-gcc$ ls ~/opt/cross/bin/i386-pc-msdosdjgpp-*

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-c++

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-cpp

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-g++

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc-11.1.0

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc-ar

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc-nm

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc-ranlib

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcov

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcov-dump

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcov-tool

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gfortran

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-lto-dump



Searched: /bin/bash: 

/home/paul/opt/cross/i386-pc-msdosdjgpp/bin/ranlib: No such file or directory

Should have searched (I think):

/home/paul/opt/cross/bin/i386-pc-msdosdjgpp-gcc-ranlib




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux