delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/01/13/13:26:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX19KJNRVifpKgPRdboydT0Wjeo6ZahwRnRTFi9pLgU
ML4zCrntqbuIgV
Message-ID: <50F2FC50.8090806@gmx.de>
Date: Sun, 13 Jan 2013 19:26:24 +0100
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2
MIME-Version: 1.0
To: djgpp AT delorie DOT com
CC: dosusb AT googlemail DOT com
Subject: Re: Openssl problems
References: <1b2d3d9b-2d91-40b0-b816-0de2061ea1b2 AT googlegroups DOT com> <b9977d20-20b4-43f2-8151-e6b6dcdabdbe AT googlegroups DOT com> <50F2DC47 DOT 2090901 AT gmx DOT de> <c29ab106-0382-4ce6-901c-bd3268ab061b AT googlegroups DOT com>
In-Reply-To: <c29ab106-0382-4ce6-901c-bd3268ab061b@googlegroups.com>
X-Y-GMX-Trusted: 0
Reply-To: djgpp AT delorie DOT com

Am 13.01.2013 17:36, schrieb dosusb AT googlemail DOT com:
> Hi Juan,
>
> thank you very much for looking into this! I downloaded your WAT3222b.zip and want to use that now. Will this work with djdev204 and my gcc 4.5.3? Or is this compiled for djdev203 and gcc 2.7.2?
>
> Georg
>
  <ftp://ftp.delorie.com/pub/djgpp/current/v2tk/wat3222b.zip>
is the version intended for use with DJGPP 2.03 (patchlevel2)
and has been compiled using djdev203, gcc472 and bnu2231 all available at:
  <ftp://ftp.delorie.com/pub/djgpp/current>

  <ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/wat3222b.zip>
is the version intended for use with DJGPP 2.04 (beta)
and has been compiled using djdev204, gcc472 and bnu2231 all available at:
  <ftp://ftp.delorie.com/pub/djgpp/beta>


I do not have any gcc version less than gcc344 so I will not support gcc 2.N.N
at all.  Using gcc 4.5.3 is OK.

If you want to use Watt-32 in your project, you need to set some environment
variables.  You can unzip wat3222b.zip where you like.  There is no need to
unzip it in the DJGPP installation tree but I will assume this case in the
following example.  DJGPP 2.04 is installed in c:/djgpp-2.04 and you unzip
wat3222b.zip in this top installation directory.  Then the /net/watt directory
will be created.  In this directory, the three directories /bin, /inc and /lib
will be created.  To be able to compile you application using this library
the following environment variables must be set:
   set WATT_ROOT=c:\djgpp-2.04\net\watt
   set C_INCLUDE_PATH=c:/djgpp-2.04/net/watt/inc
   set LIBRARY_PATH=c:/djgpp-2.04/net/watt/lib

The last two are gcc environment variables that tell the compiler where to
search for headers and libraries apart from the places defined in djgpp.env.
After having set this three variables you will be able to compile and link
your application.

To run your application you need to set at least the following the following
environment variable:
   set WATTCP.CFG=c:\djgpp-2.04\net\watt\bin
The value of the variable is arbitrary but it must point to the wattcp.cfg file
to be used by yor application.  The /bin directory contains all configuration
files delivered by watt32b-2.2-dev.10.zip.  The most important is probably
wattcp.cfg.  You must carefully adjust it to reflect your network hardware
and network configuration.  Here you are alone.
There are other configuration files there like smb.cfg, ppp.cfg, etc. that
may require adjustments to be useful for your application.

All documentation is stored in c:\djgpp-2.04\net\watt.  Please read it to
become familiar with the library.  Especially the install file tells a lot
about environment variables required to run an application linked with
this library.


The bottom line is:  if you prefer DJGPP 2.03 download and install
   ftp://ftp.delorie.com/pub/djgpp/current/v2tk/wat3222b.zip
but if you prefer DJGPP 2.04 download and install
   ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/wat3222b.zip

Any gcc4NN version will work.  Probably also all gcc3NN versions will work
but I have not tested it.  From my experience with Watt-32 the real important
issue is not to mix object file and libraries that have been compiled using
different debug information formats like coff debug and dwarf2 debug format.

I had submitted an announcement email for wat3222b.zip to the announcement
mailing list but it seems that it is still in the pipe.


Regards,
Juan M. Guerrero

- Raw text -


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