]> git.saurik.com Git - bison.git/commitdiff
(Torturing the Scanner): Don't invoke "cc a.c b.c
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2002 00:35:27 +0000 (00:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2002 00:35:27 +0000 (00:35 +0000)
-o c"; the HP-UX 11i C compiler chatters during compilation.
Instead, invoke "cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c".

tests/input.at

index f397811cec7dd6fb2f4a72ca74048d79cb9e39e3..69e421a5284cc14a272fda060f871a7cb561d945 100644 (file)
@@ -202,7 +202,9 @@ main (void)
 ]])
 
 AT_CHECK([bison -d -v -o input.c input.y])
-AT_COMPILE([input], [input.c main.c])
+AT_COMPILE([input.o], [-c input.c])
+AT_COMPILE([main.o], [-c main.c])
+AT_COMPILE([input], [input.o main.o])
 AT_PARSER_CHECK([./input], 0,
 [[[@<:@],
 ]])