[NOTE: This is the same as Request ID 495265.
However, SourceForge croaked with a server-side
Java error when I tried uploading a file.]
I've been trying to use cccl with Autoconf. The
problem is that Autoconf often likes to compile
and link in a single step. Unfortunately, cccl
0.01 is designed to either compile *or* link, but
not both.
I've attached a patch file that tries to remedy
the situation. Instead of deciding whether to
call CL or LINK, it always calls CL and uses the
/LINK flag to pass linker options to LINK. One
problem is that the cccl catch-all case currently
adds unrecognized options to both clopt and
linkopt, so I had to add special cases for *.c and
-I*, which should be clopt only.
I haven't thoroughly tested the patched cccl, but
my Autoconf script seems reasonably happy with it
so far.
Patch file created with "diff -Naur"