#712 closed defect (fixed)
when setting CHICKEN_PREFIX the default include path is not correctly prefixed
Reported by: | Christian Kellermann | Owned by: | Christian Kellermann |
---|---|---|---|
Priority: | major | Milestone: | 4.9.0 |
Component: | compiler | Version: | 4.7.x |
Keywords: | cflags CHICKEN_PREFIX include chicken | Cc: | |
Estimated difficulty: |
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
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | 0001-Prefix-include-path-correctly-when-CHICKEN_PREFIX-is.patch added |
---|
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This seems already to be fixed.