Opened 18 years ago

Closed 17 years ago

#281 closed Bugs (Fixed)

jam_src build scripts need como --c

Reported by: cppljevans Owned by: René Rivera
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

Without the como --c option, the command:

  build.sh como

results in several .c files.   For example:

"execunix.c", line 225: error: identifier "vfork" is
undefined
   	if ((pid = vfork()) == 0)
   	           ^
Also, on debian, PATH_MAX is undefined in pwd.c.
Output of como -c --list pwd.l pwd.c shows:

N#include <limits.h>
L 1 "/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h" 1
N/* This administrivia gets added to the beginning of
limits.h
N   if the system has its own version of limits.h.  */
N
N/* We use _GCC_LIMITS_H_ because we want this not to match
N   any macros that the system's limits.h uses for its
own purposes.  */
N#ifndef _GCC_LIMITS_H_  /* Terminated in limity.h.  */
N#define _GCC_LIMITS_H_
N
N#ifndef _LIBC_LIMITS_H_
S/* Use "..." so that we find syslimits.h only in this
same directory.  */
S#include "syslimits.h"
N#endif

indicating that syslimits.h is skipped.  Maybe that's
part of the problem.

Change History (4)

comment:1 by René Rivera, 18 years ago

Logged In: YES 
user_id=33595

I added the "--c" option.

comment:2 by René Rivera, 17 years ago

Logged In: YES 
user_id=33595

Larry,

Did the addition of "--c" fix the compile problems?

comment:3 by René Rivera, 17 years ago

Logged In: YES 
user_id=33595

Assuming the answer is yes.

comment:4 by René Rivera, 17 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.