delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Received: | by 10.224.184.11 with SMTP id ci11mr14411338qab.1.1356543326460; |
Wed, 26 Dec 2012 09:35:26 -0800 (PST) | |
Newsgroups: | comp.os.msdos.djgpp |
Date: | Wed, 26 Dec 2012 09:35:26 -0800 (PST) |
In-Reply-To: | <16498b56-cd2f-4ef2-a146-0d3c6b86bab9@googlegroups.com> |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | glegroupsg2000goo.googlegroups.com; posting-host=37.229.164.137; |
posting-account=epjipAoAAABbAUrpj4DHs4xeIxb3xC0f | |
NNTP-Posting-Host: | 37.229.164.137 |
References: | <16498b56-cd2f-4ef2-a146-0d3c6b86bab9 AT googlegroups DOT com> |
User-Agent: | G2/1.0 |
MIME-Version: | 1.0 |
Message-ID: | <4ad10dac-dfeb-4e3e-a8b4-d4b536a0fe82@googlegroups.com> |
Subject: | Re: Configure without output - noob question |
From: | Maksim Soifer <masaykh AT gmail DOT com> |
Injection-Date: | Wed, 26 Dec 2012 17:35:26 +0000 |
Bytes: | 9034 |
Lines: | 310 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
So - second round. i put dev enviroment to win 7 and launched directly bash.exe after some try and fails i got to run configure and it stalled with checking for offset of exit status in return status from wait... in config.log it seen as : configure:28556: checking for offset of exit status in return status from wait configure:28609: gcc -o conftest.exe -g -O2 -I/dev/env/DJDIR/include conftest.c >&5 configure:28613: $? = 0 configure:28619: ./conftest.exe i run that conftest.exe dieclty from windows - program it seems dont do anything and wont close itself here conftest.c #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> main(c, v) int c; char **v; { pid_t pid, p; int s, i, n; s = 0; pid = fork(); if (pid == 0) exit (42); /* wait for the process */ p = wait(&s); if (p != pid) exit (255); /* crack s */ for (i = 0; i < (sizeof(s) - 8); i++) { n = (s >> i) & 0xff; if (n == 42) exit (i); } exit (254); } and confdefs.h #define PACKAGE_NAME "bash" #define PACKAGE_TARNAME "bash" #define PACKAGE_VERSION "4.2-release" #define PACKAGE_STRING "bash 4.2-release" #define PACKAGE_BUGREPORT "bug-bash AT gnu DOT org" #define USING_BASH_MALLOC 1 #define ALIAS 1 #define PUSHD_AND_POPD 1 #define RESTRICTED_SHELL 1 #define PROCESS_SUBSTITUTION 1 #define PROMPT_STRING_DECODE 1 #define SELECT_COMMAND 1 #define HELP_BUILTIN 1 #define ARRAY_VARS 1 #define DPAREN_ARITHMETIC 1 #define BRACE_EXPANSION 1 #define COMMAND_TIMING 1 #define EXTENDED_GLOB 1 #define EXTGLOB_DEFAULT 0 #define COND_COMMAND 1 #define COND_REGEXP 1 #define COPROCESS_SUPPORT 1 #define ARITH_FOR_COMMAND 1 #define NETWORK_REDIRECTIONS 1 #define PROGRAMMABLE_COMPLETION 1 #define DEBUGGER 1 #define CASEMOD_ATTRS 1 #define CASEMOD_EXPANSIONS 1 #define MEMSCRAMBLE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define READLINE 1 #define HISTORY 1 #define BANG_HISTORY 1 #define _GNU_SOURCE 1 #define HAVE_STRINGIZE 1 #define HAVE_LONG_DOUBLE_WIDER 1 #define HAVE_LONG_DOUBLE 1 #define PROTOTYPES 1 #define __PROTOTYPES 1 #define restrict __restrict #define HAVE_ALLOCA 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define INTDIV0_RAISES_SIGFPE 1 #define HAVE_INTTYPES_H_WITH_UINTMAX 1 #define HAVE_STDINT_H_WITH_UINTMAX 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_UINTMAX_T 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_MALLOC_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_GETCWD 1 #define HAVE_GETEGID 1 #define HAVE_GETEUID 1 #define HAVE_GETGID 1 #define HAVE_GETUID 1 #define HAVE_PUTENV 1 #define HAVE_SETENV 1 #define HAVE_SETLOCALE 1 #define HAVE_LOCALECONV 1 #define HAVE_STPCPY 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRTOUL 1 #define HAVE_ICONV 1 #define ICONV_CONST const #define ENABLE_NLS 1 #define HAVE_GETTEXT 1 #define HAVE_DCGETTEXT 1 #define HAVE_DIRENT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_INTTYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_LOCALE_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_DLFCN_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STDINT_H 1 #define HAVE_PWD_H 1 #define HAVE_GRP_H 1 #define HAVE_STRINGS_H 1 #define HAVE_REGEX_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ALLOCA 1 #define GETPGRP_VOID 1 #define HAVE_VPRINTF 1 #define HAVE_DOPRNT 1 #define HAVE_STRCOLL 1 #define RETSIGTYPE void #define HAVE_MKFIFO 1 #define HAVE_DUP2 1 #define HAVE_FCNTL 1 #define HAVE_GETDTABLESIZE 1 #define HAVE_GETGROUPS 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_KILL 1 #define HAVE_LSTAT 1 #define HAVE_READLINK 1 #define HAVE_SBRK 1 #define HAVE_SELECT 1 #define HAVE_SETITIMER 1 #define HAVE_TCGETPGRP 1 #define HAVE_UNAME 1 #define HAVE_WAITPID 1 #define HAVE_RENAME 1 #define HAVE_BCOPY 1 #define HAVE_BZERO 1 #define HAVE_CONFSTR 1 #define HAVE_FNMATCH 1 #define HAVE_MEMMOVE 1 #define HAVE_PATHCONF 1 #define HAVE_PUTENV 1 #define HAVE_RAISE 1 #define HAVE_REGCOMP 1 #define HAVE_REGEXEC 1 #define HAVE_SETENV 1 #define HAVE_SETLINEBUF 1 #define HAVE_SETLOCALE 1 #define HAVE_SETVBUF 1 #define HAVE_STRCHR 1 #define HAVE_SYSCONF 1 #define HAVE_TCGETATTR 1 #define HAVE_TIMES 1 #define HAVE_TTYNAME 1 #define HAVE_TZSET 1 #define HAVE_UNSETENV 1 #define HAVE_ISASCII 1 #define HAVE_ISBLANK 1 #define HAVE_ISGRAPH 1 #define HAVE_ISPRINT 1 #define HAVE_ISSPACE 1 #define HAVE_ISXDIGIT 1 #define HAVE_GETPWENT 1 #define HAVE_GETPWNAM 1 #define HAVE_GETPWUID 1 #define HAVE_GETCWD 1 #define HAVE_MEMSET 1 #define HAVE_STRCASECMP 1 #define HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRPBRK 1 #define HAVE_STRSTR 1 #define HAVE_STRTOD 1 #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOULL 1 #define HAVE_STRTOIMAX 1 #define HAVE_STRTOUMAX 1 #define HAVE_DECL_CONFSTR 1 #define HAVE_DECL_PRINTF 1 #define HAVE_DECL_SBRK 1 #define HAVE_DECL_SETREGID 0 #define HAVE_DECL_STRCPY 1 #define HAVE_DECL_STRSIGNAL 0 #define HAVE_DECL_STRTOLD 1 #define HAVE_DECL_STRTOIMAX 1 #define HAVE_DECL_STRTOL 1 #define HAVE_DECL_STRTOLL 1 #define HAVE_DECL_STRTOUL 1 #define HAVE_DECL_STRTOULL 1 #define HAVE_DECL_STRTOUMAX 1 #define HAVE_SYS_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ALARM 1 #define HAVE_FPURGE 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_MALLOC_H 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_STPCPY 1 #define HAVE_STRCSPN 1 #define HAVE_STRDUP 1 #define HAVE_WCTYPE_H 1 #define HAVE_WCHAR_H 1 #define HAVE_WCHAR_T 1 #define HAVE_WCTYPE_T 1 #define HAVE_WINT_T 1 #define HAVE_LOCALE_CHARSET 1 #define HAVE_DLOPEN 1 #define HAVE_DLCLOSE 1 #define HAVE_DLSYM 1 #define HAVE_DECL_SYS_SIGLIST 1 #define GETGROUPS_T gid_t #define HAVE_LONG_LONG 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define RETSIGTYPE void #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_CHAR_P 4 #define SIZEOF_DOUBLE 8 #define SIZEOF_LONG_LONG 8 #define u_int unsigned int #define u_long unsigned long #define bits16_t short #define u_bits16_t unsigned short #define bits32_t int #define u_bits32_t unsigned int #define bits64_t double #define HAVE_HASH_BANG_EXEC 1 #define PGRP_PIPE 1 #define HAVE_POSIX_SIGNALS 1 #define HAVE_SYS_ERRLIST 1 #define HAVE_SYS_SIGLIST 1 #define VOID_SIGHANDLER 1 #define quad_t long #define SIZEOF_INTMAX_T 8 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1 #define HAVE_TIMEVAL 1 #define HAVE_STRUCT_TM_TM_ZONE 1 #define HAVE_TM_ZONE 1 #define HAVE_STRUCT_TIMEZONE 1
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |