Summary

when setting CHICKEN_PREFIX the default include path is not correctly prefixed

Metadata

Attachments

Description

Sven Hartrumpf kindly reported this issue.

What he sees is:

 > csc -cflags                     
 -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -O2 -fomit-frame-pointer
 -march=core2 -I"/usr/local/chicken-4.7.0/include/chicken"
 > export CHICKEN_PREFIX=/usr/local/chicken-4.7.0                                                     
 > csc -cflags                                                       
 -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -O2 -fomit-frame-pointer
 -march=core2 -I"/usr/local/chicken-4.7.0/include/"

The last line should read ".../include/chicken" as we have moved our chicken.h there.

A patch attached (and sent to chicken-hackers) remedies this problem

Changes and comments

[2011-10-13 21:58:02 UTC] ckeen attached 0001-Prefix-include-path-correctly-when-CHICKEN_PREFIX-is.patch (description=#f)

[2011-11-04 13:41:43 UTC] felix changed status from new to closed

[2011-11-04 13:41:43 UTC] felix set resolution to fixed

[2011-11-04 13:41:43 UTC] felix wrote:

This seems already to be fixed.

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted