Re: [Freedos-user] I need an example

2006-06-10 Thread Arkady V.Belousov
Hi!

9-Июн-2006 21:39 [EMAIL PROTECTED] (Blair Campbell) wrote to
freedos-user@lists.sourceforge.net:

   3. binw\wlink doesn't rejects to run - it works, but _silently_ produces
   corrupted executable (some offsets in code calculated wrong).
BC I would consider it more of a bug in Windows' emulation of DOS...

  Wlink _works_. Works _fine_. Issue is that it only wrongly calculates
_some_ offsets in code. So, this is definitely bug in Wlink. Especially
because any other DOS4GW programs (including, for example, WCC and WPP)
works as expected.

BC Also, in my experience, Win32 executables tend to run faster than DOS
BC executables on Windows.

  This is another story.


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] I need an example

2006-06-09 Thread Scott Mayo

 I would recommend trying to contact the WATT-32 library for such
 examples... and there is example code on the website, although I'm not
 sure it's c++.

I wasn't clear. Code's the only thing I don't need. It's the build scripts
(.bat files, make files, whatever) and examples of how to use the
toolchain, that I'm after. If I could use Microsoft VC++ to produce a DOS
executable (and I dearly with I could, because then I'd be done), I'd be
asking for a project file, so I could see what switches the compiler
needed, what libraries to link with, etc.




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] I need an example

2006-06-09 Thread Blair Campbell
On 6/9/06, Arkady V.Belousov [EMAIL PROTECTED] wrote:
 Hi!

 8-Июн-2006 23:35 [EMAIL PROTECTED] (Scott Mayo) wrote to
 freedos-user@lists.sourceforge.net:

 SM Does anyone have a build environment they'd be interested in sharing,
 that
 SM I can unpack onto a WIn XP system and get running in a few hours? A
 SM compiler installation .zip, and a .bat file that assembles and links
 SM sample C++ code and the WATT-32 library should be all I need...

We (I) may help you by answering precise questions. For example,
 which
 compiler to select, how to run compilation, which optimization options
 better to use, etc.

For example, for OpenWatcom, download distributive (official 62 Mb
 .exe installer or recently announced distributive in .zips), then place
 compiler where you want, configure it (define environment variables, as
 described in readme.txt), then compile your application wcl app.cpp. Whats
 all.

If no one deal before with precise library, to no one will/may answer
 to you questions, how to link in this library to your application.

 PS: There is bug in OpenWatcom binw\wlink, when it produces correpted
 executable, when runs in DOSbox. So, you should be sure, that under Windows
 you run tools from binnt\, not binw\ directory.

Which is the way it SHOULD be anyways :-)  ( Why would anyone want to
use DOS hosted tools if they're running windows??)

 PPS: OpenWatcom also contains IDE, from where you may build your application
 for any available target.


 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user



-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] I need an example

2006-06-09 Thread Arkady V.Belousov
Hi!

9-Июн-2006 21:13 [EMAIL PROTECTED] (Blair Campbell) wrote to
freedos-user@lists.sourceforge.net:

   PS: There is bug in OpenWatcom binw\wlink, when it produces correpted
   executable, when runs in DOSbox. So, you should be sure, that under 
Windows
   you run tools from binnt\, not binw\ directory.
BC Which is the way it SHOULD be anyways  :-)   ( Why would anyone want to
BC use DOS hosted tools if they're running windows??)

1. Common configuration files (with pathes).
2. Why not?
3. binw\wlink doesn't rejects to run - it works, but _silently_ produces
corrupted executable (some offsets in code calculated wrong).


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] I need an example

2006-06-09 Thread Blair Campbell
I would consider it more of a bug in Windows' emulation of DOS...

Also, in my experience, Win32 executables tend to run faster than DOS
executables on Windows.

On 6/9/06, Arkady V.Belousov [EMAIL PROTECTED] wrote:
 Hi!

 9-Июн-2006 21:13 [EMAIL PROTECTED] (Blair Campbell) wrote to
 freedos-user@lists.sourceforge.net:

PS: There is bug in OpenWatcom binw\wlink, when it produces correpted
executable, when runs in DOSbox. So, you should be sure, that under
 Windows
you run tools from binnt\, not binw\ directory.
 BC Which is the way it SHOULD be anyways  :-)   ( Why would anyone want to
 BC use DOS hosted tools if they're running windows??)

 1. Common configuration files (with pathes).
 2. Why not?
 3. binw\wlink doesn't rejects to run - it works, but _silently_ produces
 corrupted executable (some offsets in code calculated wrong).


 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user



-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] I need an example

2006-06-08 Thread Scott Mayo
I'm on the edge of buying hardware for my embedded project. I've been
holding back because I'm nervous about actually assembling the software.
Writing the software is no problem - I have my C++  inline assembler
coded and pretty much ready to go. What I'm uncomfortable with is the
actual process of getting it compiled for DOS, linked with WATT-32, moved
to the PC-104 board, and started.

What I think I need is someone to show me a trivial C++ program that uses
WATT-32, AND the compiler setup, compiler settings, build scripts, and all
the other associated toolchain *junk* needed to get it ready to go.

In part I'm just spoiled - I've gotten used to just typing code into
Microsoft VC++, clicking build and having my executable pop out, finished
and ready. The idea of spending days stumbling though compiler settings,
memory models, config.sys and everything else is just plain daunting.

Does anyone have a build environment they'd be interested in sharing, that
I can unpack onto a WIn XP system and get running in a few hours? A
compiler installation .zip, and a .bat file that assembles and links
sample C++ code and the WATT-32 library should be all I need...





___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] I need an example

2006-06-08 Thread Blair Campbell
I would recommend trying to contact the WATT-32 library for such
examples... and there is example code on the website, although I'm not
sure it's c++.

On 6/8/06, Scott Mayo [EMAIL PROTECTED] wrote:
 I'm on the edge of buying hardware for my embedded project. I've been
 holding back because I'm nervous about actually assembling the software.
 Writing the software is no problem - I have my C++  inline assembler
 coded and pretty much ready to go. What I'm uncomfortable with is the
 actual process of getting it compiled for DOS, linked with WATT-32, moved
 to the PC-104 board, and started.

 What I think I need is someone to show me a trivial C++ program that uses
 WATT-32, AND the compiler setup, compiler settings, build scripts, and all
 the other associated toolchain *junk* needed to get it ready to go.

 In part I'm just spoiled - I've gotten used to just typing code into
 Microsoft VC++, clicking build and having my executable pop out, finished
 and ready. The idea of spending days stumbling though compiler settings,
 memory models, config.sys and everything else is just plain daunting.

 Does anyone have a build environment they'd be interested in sharing, that
 I can unpack onto a WIn XP system and get running in a few hours? A
 compiler installation .zip, and a .bat file that assembles and links
 sample C++ code and the WATT-32 library should be all I need...





 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user



-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user