📄 link_f_c_cxx.test
字号:
#! /bin/sh# Test to make sure the C++ linker is used when appropriate.# Matthew D. Langston <langston@SLAC.Stanford.EDU>. $srcdir/defs || exit 1cat >> configure.in << 'END'AC_PROG_CCAC_PROG_CXXAC_PROG_F77ENDcat > Makefile.am << 'END'bin_PROGRAMS = lavalamplavalamp_SOURCES = lava.c lamp.cxx lamp2.fEND: > lava.c: > lamp.cxx: > lamp2.f$AUTOMAKE || exit 1# We should only see the C++ linker in the rules of `Makefile.in'.# Look for this macro not at the beginning of any line; that will have# to be good enough for now.grep '.\$(CXXLINK)' Makefile.in || exit 1# We should not see these patterns:grep '.\$(F77LINK)' Makefile.in && exit 1grep '.\$(LINK)' Makefile.in && exit 1exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -