delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/03/08/03:46:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Sat, 08 Mar 2008 02:43:53 -0600
Date: Sat, 08 Mar 2008 00:43:51 -0800
From: Jim Michaels <jmichae3REMOVE AT THISPLEASEyahoo DOT com>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Turbo Vision compile problems
References: <cs6dnVyUg4CvO03anZ2dnUVZ_sednZ2d AT comcast DOT com> <47d1a913$0$21924$9b4e6d93 AT newsspool2 DOT arcor-online DOT net>
In-Reply-To: <47d1a913$0$21924$9b4e6d93@newsspool2.arcor-online.net>
Message-ID: <b8WdneptGY9XzE_anZ2dnUVZ_uevnZ2d@comcast.com>
Lines: 64
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 24.20.110.103
X-Trace: sv3-vOJ+3WuxTpXRLBlAYcdggyQ2t33yVBfpvdEdKiIP4d3XjbcxMrNweyu9j6qV5p4NLkdy4LCUo7Paz8F!iU1RC/9+zO8U42bsCYRgIVm0YIPRInVH+FUDQk/WoqNtYVbpoVaC+oDdQ7NkGhX/U3KjAX4MyCpN!tNjjmMMwO0XU/P4sGwv0TscQXuaBWQ==
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.37
X-Original-Bytes: 3255
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Robert Riebisch wrote:
> 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
> ***
> 


hmm.  I thought the point with tvision binaries was that all the 
libraries were supposed to be supplied.

how am I supposed to know to switch to gcc 344?  that wasn't in the 
install instructions.


-- 
  Jim Michaels
  for email, edit the address

- Raw text -


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