/[ascend]/trunk/base/generic/compiler/packages.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/packages.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 511 by johnpye, Wed Apr 19 04:48:32 2006 UTC revision 512 by wangym, Wed Apr 19 08:21:13 2006 UTC
# Line 99  symchar *MakeArchiveLibraryName(CONST ch Line 99  symchar *MakeArchiveLibraryName(CONST ch
99      sprintf(buffer,"%s%s%s",ASC_STRINGIFY(ASC_SHLIBPREFIX),prefix,ASC_STRINGIFY(ASC_SHLIBSUFFIX));      sprintf(buffer,"%s%s%s",ASC_STRINGIFY(ASC_SHLIBPREFIX),prefix,ASC_STRINGIFY(ASC_SHLIBSUFFIX));
100  # undef ASC_STRINGIFY  # undef ASC_STRINGIFY
101  #else  #else
 # error "Please #define ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX or pass as compiler flags to packages.c"  
 /*  
 #else  
102  # ifdef __WIN32__  # ifdef __WIN32__
103      sprintf(buffer,"%s.dll",prefix);      sprintf(buffer,"%s.dll",prefix);
104  # elif defined(linux)  # elif defined(linux)
105      sprintf(buffer,"lib%s.so",prefix); /* changed from .o to .so -- JP *      sprintf(buffer,"lib%s.so",prefix); /* changed from .o to .so -- JP */
106  # elif defined(sun) || defined(solaris)  # elif defined(sun) || defined(solaris)
107      sprintf(buffer,"%s.so.1.0",prefix);      sprintf(buffer,"%s.so.1.0",prefix);
108  # elif defined(__hpux)  # elif defined(__hpux)
# Line 113  symchar *MakeArchiveLibraryName(CONST ch Line 110  symchar *MakeArchiveLibraryName(CONST ch
110  # elif defined(_SGI_SOURCE)  # elif defined(_SGI_SOURCE)
111      sprintf(buffer,"%s.so",prefix);      sprintf(buffer,"%s.so",prefix);
112  # else  # else
113      sprintf(buffer,"%s.so.1.0",prefix);  #   error "Please #define ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX or pass as compiler flags to packages.c"
114  # endif  # endif
 */  
115  #endif  #endif
116    
117      result = AddSymbol(buffer); /* the main symbol table */      result = AddSymbol(buffer); /* the main symbol table */

Legend:
Removed from v.511  
changed lines
  Added in v.512

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22