Changeset 36 for sources/src
- Timestamp:
- Jul 4, 2009, 4:49:35 PM (15 years ago)
- Location:
- sources/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/gen_code.cc
r35 r36 400 400 char target_name[128]; 401 401 char source_name[128]; 402 sprintf (target_name, "%s. o", base_name);402 sprintf (target_name, "%s.lo", base_name); 403 403 sprintf (source_name, "%s.cc", base_name); 404 404 … … 451 451 /* LINK */ 452 452 /* **** */ 453 sprintf (target_name, "%s. so", base_name);453 sprintf (target_name, "%s.la", base_name); 454 454 455 455 #ifdef CONFIG_OS_LINUX 456 456 sprintf (source_name, "%s.lo", base_name); 457 sprintf(compil_str, "(cd %s ; pwd ; libtool --mode=link %s %s - shared -rdynamic -o %s %s)", /* -L. -L%s/lib-%s */457 sprintf(compil_str, "(cd %s ; pwd ; libtool --mode=link %s %s -module -shared -o %s %s -rpath /tmp)", /* -L. -L%s/lib-%s */ 458 458 temporary_dir, compiler, casc_cflags, /*systemc_dir, target_arch,*/ 459 459 target_name, source_name); -
sources/src/global_functions.cc
r33 r36 229 229 sprintf(lib_absolutepath, "/tmp/%s.so", base_name); 230 230 #elif defined(CONFIG_OS_LINUX) 231 sprintf(lib_absolutepath, "/tmp/ %s.so", base_name);231 sprintf(lib_absolutepath, "/tmp/.libs/%s.so.0", base_name); 232 232 #else 233 233 cerr << "ERROR\n"; exit (126);
Note: See TracChangeset
for help on using the changeset viewer.