Summary
when setting CHICKEN_PREFIX the default include path is not correctly prefixed
Metadata
- Id: 6d29d4d99d8f919cf99ceaaa345579da85aba645
- Trac id: 712
- Type: defect
- Reporter: ckeen
- Owner: ckeen
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2011-10-13 21:56:15 UTC
- Keywords: cflags CHICKEN_PREFIX include chicken
Attachments
- 6d29d4d99d8f919cf99ceaaa345579da85aba645/attachments/0001-Prefix-include-path-correctly-when-CHICKEN_PREFIX-is.patch
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