fceux/attic
punkrockguy318 f32271f269 cmake: include new files in cmake build system 2012-08-06 18:02:10 +00:00
..
cmake-stuff cmake: include new files in cmake build system 2012-08-06 18:02:10 +00:00
pc moved the sdl driver to attic to emphasize the point that we need to get the windows build solid before we go back to re-adding sdl 2006-07-18 06:37:06 +00:00
sexyal ...etc... 2006-07-18 06:35:48 +00:00
.gitignore moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
BUGS removed archaic bugs file.obj 2008-06-03 06:18:23 +00:00
ChangeLog extensive sdl cleanup 2008-08-10 13:38:39 +00:00
ChangeLog.older extensive sdl cleanup 2008-08-10 13:38:39 +00:00
Makefile.am moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
acinclude.m4 moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
aclocal.m4 moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
authors extensive sdl cleanup 2008-08-10 13:38:39 +00:00
compile moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
config.guess moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
config.sub moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
configure-mingw32 moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
configure.ac moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
depcomp moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
fceu-svga.6 extensive sdl cleanup 2008-08-10 13:38:39 +00:00
fceustr.cpp discovered that soundexp.cpp and fceustr.cpp are obsolete 2006-07-23 22:56:18 +00:00
fceustr.h discovered that soundexp.cpp and fceustr.cpp are obsolete 2006-07-23 22:56:18 +00:00
install-sh moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
missing moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
mkinstalldirs moved fceu to its own folder to make room for other projects 2006-07-29 05:46:15 +00:00
old fceultra docs.zip 2006-07-28 03:52:40 +00:00
readme extensive sdl cleanup 2008-08-10 13:38:39 +00:00
soundexp.cpp discovered that soundexp.cpp and fceustr.cpp are obsolete 2006-07-23 22:56:18 +00:00

readme

FCE Ultra was developed with gcc and GNU make in mind.  MSVC will probably
compile the Windows source code with a few modifications, but you'll still 
need to make a project file.

Several pre-made makefiles are provided:
	Makefile.beos		- BeOS(with SDL and SDL_net)
	Makefile.unixsdl	- UN*X(FreeBSD/Linux/etc, with SDL)
	Makefile.linuxvga	- Linux(with svgalib)
	Makefile.dos		- (MS/PC/DR) DOS
	Makefile.win		- MS Windows 9x/Me/Xp/2000/etc.(with DirectX).
	Makefile.macosx		- Mac OS X(with SDL)

If you want to use Makefile.beos or Makefile.unixsdl for a cpu type other
than 80x86, you will need to remove "-DC80x86" from the defines line
and also remove "-DLSB_FIRST" if your target cpu uses MSB first ordering.
You'll also need to remove/change "-mcpu=xxx".

For the Windows port, I use MINGW32.  http://www.mingw.org

To compile the DOS port, you'll need to download the DJGPP package.
Any version of gcc >=2.95.3 should compile the code without changes, BUT
the DJGPP versions of gcc have some problems:
  gcc 2.95.3 sometimes breaks when compiling the code.  gcc 3.0.2 seems to 
  produce bad code for sound.c.  So, I recommend using gcc 3.0.4 for
  compiling the DOS version.

Modifying the "-mcpu=i686" string in the makefiles, to optimize more effectively
for your cpu type, is a good idea.

Always do a "make -f Makefile.<platform> clean" before compiling for a 
different platform or if you update via cvs and if you have stale object 
files lying around.