Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

0001-Prefix-include-path-correctly-when-CHICKEN_PREFIX-is.patch (779 bytes) - added by Christian Kellermann 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Christian Kellermann

comment:1 Changed 12 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

This seems already to be fixed.

comment:2 Changed 12 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.