Matthew,
Here is the config.h file we used to get it to compile on PPC2002. Of course, make sure to define HAVE_CONFIG_H and FPM_DEFAULT in the evc++ project file (FPM_ARM does not work).
************************************************************************ ***** * Definitions selected automatically by `configure' *
************************************************************************ *****/
/* Define to empty if the keyword does not work. */ /* #undef const */
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ /* #undef HAVE_SYS_WAIT_H */
/* Define as __inline if that's what the C compiler calls it. */ #define inline __inline
/* Define to `int' if <sys/types.h> doesn't define. */ /* #undef pid_t */
/* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1
/* Define to optimize for speed over accuracy. */ /* #undef OPT_SPEED */
/* Define to optimize for accuracy over speed. */ /* #undef OPT_ACCURACY */
/* Define to enable a fast subband synthesis approximation optimization. */ /* #undef OPT_SSO */
/* Define to influence a strict interpretation of the ISO/IEC standards, even if this is in opposition with best accepted practices. */ /* #undef OPT_STRICT */
/* Define if your MIPS CPU supports a 2-operand MADD instruction. */ /* #undef HAVE_MADD_ASM */
/* Define if your MIPS CPU supports a 2-operand MADD16 instruction. */ /* #undef HAVE_MADD16_ASM */
/* Define to enable diagnostic debugging support. */ /* #undef DEBUG */
/* Define to disable debugging assertions. */ /* #undef NDEBUG */
/* Define to enable experimental code. */ /* #undef EXPERIMENTAL */
/* Define to be the name of your default audio output module. */ #define AUDIO_DEFAULT audio_win32
/* The number of bytes in a int. */ #define SIZEOF_INT 4
/* The number of bytes in a long. */ #define SIZEOF_LONG 4
/* The number of bytes in a long long. */ #define SIZEOF_LONG_LONG 8
/* Define if you have the fcntl function. */ /* #undef HAVE_FCNTL */
/* Define if you have the fork function. */ /* #undef HAVE_FORK */
/* Define if you have the pipe function. */ /* #undef HAVE_PIPE */
/* Define if you have the waitpid function. */ /* #undef HAVE_WAITPID */
/* Define if you have the <assert.h> header file. */ /* #undef HAVE_ASSERT_H */
/* Define if you have the <errno.h> header file. */ /* #undef HAVE_ERRNO_H */
/* Define if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1
/* Define if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1
/* Define if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1
/* Define if you have the <unistd.h> header file. */ /* #undef HAVE_UNISTD_H */
/* Name of package */ #define PACKAGE "libmad"
/* Version number of package */ #define VERSION "0.14.2b"
- Kevin
-----Original Message----- From: mad-dev-admin@lists.mars.org [mailto:mad-dev-admin@lists.mars.org] On Behalf Of Matthew Sieker (Siekersoft) Sent: Friday, April 18, 2003 11:42 PM To: mad-dev@lists.mars.org Subject: [mad-dev] Mad on PocketPC 2002
I'm attempting to build madlib for an ARM based PocketPC 2002 platform, using MS Embedded Visual C. I've found some older threads out in the archives that show it has been done in the past. However, when I attempt it, I get literally hundreds of errors from the various definitions in layer3.h. I've attemted to edit the config.h file that was in the msvc++ folder to have it not include the various includes PocketPC dosnt have, to no avail.
Any pointers anyone?
Thanks