Hi Experts,

Tried building for Win32 bit.

 

I am using the following config.h converted manually from config-h.in.

 

But run in to this  again:

#include <sys/resource.h>

 

This file is a unix file!!!!

 

Please help!!!

Saurabh

 

 


From: Saurabh Bhatnagar [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 10:18 AM
To: 'gnuwin32-users@lists.sourceforge.net'
Subject: FW: m4 build for x64- AMD using MSVS2005

 

At least tell me the way to build on Win32!!!

 

Warm Regards

 


From: Saurabh Bhatnagar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 11:38 AM
To: 'gnuwin32-users@lists.sourceforge.net'
Subject: FW: m4 build for x64- AMD using MSVS2005

 

No reply from Rene!!!

 


From: Saurabh Bhatnagar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 5:11 PM
To: '[EMAIL PROTECTED]'
Subject: m4 build for x64- AMD using MSVS2005

 

Hello Rene,

 

I am building yacc-lex for x64.

 

I have created a solution with m4-1.4.4 project in it.

Downloaded from http://gnuwin32.sourceforge.net. .

 

I am getting the following error among others:

 

Error   133     fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory            c:\Program Files (x86)\GnuWin32\m4-1.4.4-src\src\m4\1.4.4\m4-1.4.4-src\src\stackovf.c     84

 

I found config.h in the unix source tree  …..\GnuWin32\m4-1.4.4-src\src\m4\1.4.4\m4-1.4.4\config.h, I have included this into the lib folder where other library headers are kept.

 

Also, there are references to sys/time.h (this is in VC\include folder) and sys/wait.h(this is not available on my system, copied this from CVS cleint)

 

What is the right way to build this on x64?

 

 

Warm Regards

Saurabh Bhatnagar
Team Software Configuration and Build Management  - Supply Chain Planning
INDIA
51987000 x 7271

 

/* config-h.in.  Generated from configure.ac by autoheader.  */

/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
//MODIFIED THIS FILE TO ACT AS CONFIG.H - SAURABH BHATNAGAR 19TH-JAN-2006

/* #undef CRAY_STACKSEG_END */

/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */

/* Define to 1 if the changeword(REGEXP) functionality is wanted */
#define ENABLE_CHANGEWORD 1

/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA

/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
   */
#undef HAVE_ALLOCA_H

/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#undef HAVE_DOPRNT

/* Define to 1 if you have the `ecvt' function. */
#undef HAVE_ECVT

/* Define to 1 if you have ecvt(3), fcvt(3) and gcvt(3). Define to 2 if they
   are declared in stdlib.h */
#define HAVE_EFGCVT 2

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `mkstemp' function. */
#define HAVE_MKSTEMP 1

/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1

/* Define to 1 if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK

/* Define to 1 if signal.h declares struct sigcontext */
#define HAVE_SIGCONTEXT 1

/* Define to 1 if you have the <siginfo.h> header file. */
#undef HAVE_SIGINFO_H

/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1

/* Define to 1 if you have the `sigstack' function. */
#define HAVE_SIGSTACK 1

/* Define to 1 if you have the `sigvec' function. */
#define HAVE_SIGVEC 1

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1

/* Define to 1 if you have the <sys/signal.h> header file. */
#undef HAVE_SYS_SIGNAL_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the `tmpfile' function. */
#define HAVE_TMPFILE 1

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "bug-m4@gnu.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "GNU M4"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "GNU M4 1.4.4"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "m4"

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.4.4"

/* Define to 1 if ANSI function prototypes are available */
#define PROTOTYPES 1

/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
        STACK_DIRECTION > 0 => grows toward higher addresses
        STACK_DIRECTION < 0 => grows toward lower addresses
        STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if using stack overflow detection */
/* #undef USE_STACKOVF */

/* Define to 1 if malloc debugging is enabled */
/* #undef WITH_DMALLOC */

/* Define to 1 if on AIX 3.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _ALL_SOURCE
/* # undef _ALL_SOURCE */
#endif

/* Define to 1 if on MINIX. */
/* #undef _MINIX */

/* Define to 2 if the system does not provide POSIX.1 features except with
   this defined. */
/* #undef _POSIX_1_SOURCE */

/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to int if rlim_t is not defined in sys/resource.h */
#ifndef rlim_t
      int rlim_t;
#endif

/* Define to `unsigned' if <sys/types.h> does not define. */
#ifndef size_t
      unsigned size_t;
#endif

/* Define to struct sigaltstack if stack_t is not in sys/signal.h */
#ifndef stack_t
      struct signalstack stack_t;
#endif

Reply via email to