.\" .\" srecord - manipulate eprom load files .\" Copyright (C) 2003, 2006-2009 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .ad l .hy 0 .so etc/version.so SRecord \*(v)

SRecord \*(v)
on Windows

The Cygwin tools are ports of the popular GNU development tools and utilities for Windows 95, 98, NT, XP, Vista, etc. They function by using the Cygwin library which provides a UNIX-like API on top of the Win32 API.

This means that you can compile SRecord for Windows 95, 98, NT, XP, Vista, etc. SRecord was tested on Windows in this way. Other tools, such as Nutcracker, are expected to work but have not been confirmed.

DJGPP is a complete 32-bit C/C++ development system for Intel 80386 (and higher) PCs running DOS. It includes ports of many GNU development utilities.

Once you have Cygwin or DJGPP installed, simply follow the instructions in the BUILDING file, as if it were Unix.

Note: Some problems have been reported using GCC 3.2. If you experience problems, please try GCC 2.96 instead. Of course, a patch to fix the 3.2 problems is always welcome.

Pre-built windows binaries are available from .fi sourceforge.net, although they tend to lag behind the current release.

FAQ

Please, please, can you just build it for me?

No. The author rarely uses Windows for anything. No.

Besides, SRecord is open source. That means you can get the source code. That means you can build it youself.

If you let the author know the URL to get your compiled binaries from, after some-one else confirms they work, he will upload them to SourceForge.

Windows Build

Building SRecord on Windows using Cygwin is as easy as doing it for Unix:
.nf
$ ./configure
$ make
$
.fi
but this makes executables which need the CYGWIN1.DLL which often isn't what is desired. To make executables which don't need it, do this:
.nf
$ CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ./configure
$ make
$
.fi
This is how the executables on .fi sourceforge.net were built.