Changeset 36 for sources/src/gen_code.cc
- Timestamp:
- Jul 4, 2009, 4:49:35 PM (15 years ago)
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.