Share

cccl

Tracker: Patches

5 Patch to help support compile+link - ID: 495268
Last Update: Attachment added ( pakin )

[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.


Scott Pakin ( pakin ) - 2001-12-20 01:53

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
cccl-CompileLink.patch Patch file created with "diff -Naur" Download

Change ( 1 )

Field Old Value Date By
File Added 14954: cccl-CompileLink.patch 2001-12-20 01:53 pakin