Changeset e88bae in git
- Timestamp:
- Aug 2, 2005, 4:06:18 PM (19 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 80d92aef1c5833116bf94ed13ea7c8d6c3acfcba
- Parents:
- 763bf07f7e9d291dfd5cd2994d10d3c9486dcf9a
- Location:
- modules/modgen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/modgen/main.cc
r763bf07 re88bae 73 73 char* inst_dir = EXEC_PREFIX; 74 74 75 #ifdef IRIX_6 76 struct option 77 { 78 const char *name; 79 /* has_arg can't be an enum because some compilers complain about 80 type mismatches in all the code that assumes it is an int. */ 81 int has_arg; 82 int *flag; 83 int val; 84 }; 85 #endif 75 86 static struct option long_options[] = 76 87 { … … 83 94 {0, 0, 0, 0} 84 95 }; 96 85 97 86 98 void usage(char *name) … … 116 128 unsigned long cksm; 117 129 130 #ifdef IRIX_6 131 while( (c=getopt (argc,argv, "dmvsi:")) != -1) 132 #else 118 133 while( (c=getopt_long (argc, argv, "dmvsi:", 119 long_options, &option_index))>=0) { 134 long_options, &option_index))>=0) 135 #endif 136 { 120 137 switch (c) 121 138 { -
modules/modgen/makefile.cc
r763bf07 re88bae 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: makefile.cc,v 1.2 1 2005-05-25 12:14:59 brickenExp $ */4 /* $Id: makefile.cc,v 1.22 2005-08-02 14:06:18 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: lib parsing … … 161 161 /*=== Machine depend Makefile creation ===*/ 162 162 /*========================================================================*/ 163 #if defined(ix86_Linux) || defined(ix86_Linux_libc5) || defined(ix86_freebsd)|| defined(x86_64_Linux) 163 #if defined(ix86_Linux) || defined(ix86_Linux_libc5) || defined(ix86_freebsd)|| defined(x86_64_Linux) || defined(IRIX_6) 164 164 void build_compile_section( 165 165 FILE *fp, … … 242 242 243 243 /*========================================================================*/ 244 # ifdef IRIX_6245 void build_compile_section(246 FILE *fp,247 moddefv module248 )249 {250 fprintf(fp, "all:\t\n");251 fprintf(fp, "\techo \"don't know how to build library\"\n");252 }253 # endif /* IRIX_6 */254 255 /*========================================================================*/256 244 # ifdef Sun3OS_4 257 245 void build_compile_section(
Note: See TracChangeset
for help on using the changeset viewer.