Win7-64 bit Cygwin 64-bit g++ 4.9.2 I'm trying to link test program. The linker command option given to g++ during 'make check' says "don't link". Any way around this?
check_PROGRAMS = test test_INCLUDE = -I$(top_srcdir)/src test_SOURCES = $(testCPP) $(testHead) test_LDADD = libslip.a 'make check' contains: g++ -std=gnu++11 -Wall -Wno-reorder -Wno-unused-value -Wno-address -Wno-sequence-point -Wmaybe-uninitialized -c -g -o test.exe Test.o TestErrors.o TestGlobal.o TestHeader.o TestIO.o TestMisc.o TestOperators.o TestReader.o TestReplace.o TestSequencer.o TestUtilities.o libslip.a which works when the "-c" option is removed. g++ --help => -c Compile and assemble, but do not link Is the linker command supposed to be given in a test script in the Makefile.am file (TEST=script)? The failure of the past is the challenge of the present and the success of the future.