Changeset 1394 for trunk/src/gcc/ltcf-c.sh
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/ltcf-c.sh
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r1393 r1394 109 109 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/impgen.c~ 110 110 test -f $output_objdir/impgen.exe || (cd $output_objdir && \ 111 if test "x$ BUILD_CC" != "x" ; then $BUILD_CC -o impgen impgen.c ; \111 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ 112 112 else $CC -o impgen impgen.c ; fi)~ 113 113 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' … … 425 425 hardcode_libdir_flag_spec='-L$libdir' ;; 426 426 *) 427 if test $with_gcc = yes; then428 case "$host_os" in429 hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;430 *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;431 esac432 else433 case $host_os in434 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;435 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;436 esac437 fi438 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'439 hardcode_libdir_separator=:440 hardcode_minus_L=yes # Not in the search PATH, but as the default441 # location of the library.427 if test $with_gcc = yes; then 428 case "$host_os" in 429 hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; 430 *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; 431 esac 432 else 433 case $host_os in 434 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; 435 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; 436 esac 437 fi 438 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 439 hardcode_libdir_separator=: 440 hardcode_minus_L=yes # Not in the search PATH, but as the default 441 # location of the library. 442 442 ;; 443 443 esac … … 484 484 485 485 os2*) 486 hardcode_libdir_flag_spec='-L$libdir'487 hardcode_minus_L=yes488 #allow_undefined_flag=unsupported489 # HACK!!!! just need something here to link shared libs - at least for now.490 allow_undefined_flag=no491 archive_cmds='$echo "LIBRARY $soname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags ${LT_OS2_LDFLAGS} $output_objdir/$libname.def'492 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'486 hardcode_libdir_flag_spec='-L$libdir' 487 hardcode_minus_L=yes 488 #allow_undefined_flag=unsupported 489 # HACK!!!! just need something here to link shared libs - at least for now. 490 allow_undefined_flag=no 491 archive_cmds='$echo "LIBRARY $soname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags ${LT_OS2_LDFLAGS} $output_objdir/$libname.def' 492 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 493 493 ;; 494 494 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.