ranlib, not searched at the right place

Paul Dufresne dufresnep@zoho.com
Fri Jun 18 15:34:55 GMT 2021


---- Le ven., 18 juin 2021 10:42:37 -0400 Jonathan Wakely <jwakely.gcc@gmail.com> écrit ----


On Fri, 18 Jun 2021 at 11:44, Paul Dufresne via Gcc-help 
<mailto:gcc-help@gcc.gnu.org> wrote: 
> 
>> Goal: compile DOS 32 bits program in Linux because many scripts use bash 
 
>Please clarify. Are you trying to compile DOS programs to run on linux? 
 >Or just compile them on linux, to be run on Windows machines? 
 
compile them on linux, to be run on DOS under DPMI (cwsdpmi) machines?... not Windows 

 

>> Not sure I am on the right track. 
 >I think you are on completely the wrong track, but you haven't told us 
>how you even configured GCC so we can't really say much about the rest 
>of the errors you showed. 
export PREFIX="$HOME/opt/cross"
export TARGET=i386-pc-msdosdjgpp
export PATH="$PREFIX/bin:$PATH"



mkdir build-gcc
cd build-gcc
../gcc-x.y.z/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++


More information about the Gcc-help mailing list