delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/03/07/15:46:21

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 07 Mar 2008 21:43:38 +0100
From: Robert Riebisch <Robert DOT Riebisch AT arcor DOT de>
Organization: none
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Turbo Vision compile problems
References: <cs6dnVyUg4CvO03anZ2dnUVZ_sednZ2d AT comcast DOT com>
Lines: 55
Message-ID: <47d1a913$0$21924$9b4e6d93@newsspool2.arcor-online.net>
NNTP-Posting-Date: 07 Mar 2008 21:44:03 CET
NNTP-Posting-Host: 556fc1c6.newsspool2.arcor-online.net
X-Trace: DXC=n^33ORcVQn`PKPPVf;4hUjA9EHlD;3Ycb4Fo<]lROoRaFl8W>\BH3YbdRZ;Z AT 3E25l5cYbBhlPAHgiaKhWcAC]im[B?WfW7lmihiLa;GV]]Keb
X-Complaints-To: usenet-abuse AT arcor DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jim Michaels wrote:

> also, every example compiles with the link error that the linker could
> not find -lrhtv
> rhtv.* does not exist.

Then you didn't build/install TV correctly. ;-)

I also had troubles building tv203s.zip using djdev204 + gcc423.
Problems were gone after I switched to gcc344.

Yes, you can have several gcc versions in your DJGPP installation.

Here's a part from my "djfresh.bat":
(%1 = c:\DJGPP)
(%2 = my local DJGPP FTP mirror)
***
unzip32.exe -j -d %1\bin\gcc-3.4-4 %2\beta\v2gnu\gcc344b.zip bin/*
unzip32.exe -d %1 %2\beta\v2gnu\gcc344b.zip lib/* libexec/*
unzip32.exe -j -d %1\bin\gcc-4.2-3 %2\beta\v2gnu\gcc423b.zip bin/*
unzip32.exe -d %1 %2\beta\v2gnu\gcc423b.zip -x bin/*

unzip32.exe -j -d %1\bin\gcc-3.4-4 %2\beta\v2gnu\gpp344b.zip bin/*
unzip32.exe -d %1 %2\beta\v2gnu\gpp344b.zip include/* lib/* libexec/*
unzip32.exe -j -d %1\bin\gcc-4.2-3 %2\beta\v2gnu\gpp423b.zip bin/*
unzip32.exe -d %1 %2\beta\v2gnu\gpp423b.zip -x bin/*
***

My "godj.bat" looks like this:
***
@echo off
if "%1" == "" goto help
if not exist c:\djgpp\bin\gcc-%1 goto help
echo Preparing for DJGPP...
set PATH=c:\djgpp\bin\gcc-%1;c:\djgpp\bin;%PATH%
set DJGPP=c:\djgpp\djgpp.env
echo using GCC version %1
echo.
echo Now have fun! :-)
echo.
goto done
:help
echo usage: %0 "GCC version"
echo.
echo GCC versions found:
c:\djgpp\bin\find.exe c:/djgpp/bin -name 'gcc*' -type d -printf
'%%f\n'|c:\djgpp\bin\sed.exe "s;gcc-;  ;"
echo.
:done
***

-- 
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019