Opened 14 years ago

Closed 14 years ago

#97 closed defect (fixed)

When cross-compiling, the active features do not represent target system

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: not urgent at all Milestone:
Component: core tools Version: 4.2.x
Keywords: cross-development Cc:
Estimated difficulty:

Description (last modified by felix winkelmann)

During the cross-compile, the feature-IDs for target architecture and operating system are not correct. We need to un-register those features and register features suitable for the target.

This will probably require a -no-feature option and build-variables for target architecture and platform.

The implications for this are extremely subtle, and this may be difficult to get right.

Change History (3)

comment:1 Changed 14 years ago by felix winkelmann

Description: modified (diff)
Milestone: 4.3.0

comment:2 Changed 14 years ago by felix winkelmann

Keywords: cross-development added
Priority: minornot urgent at all

One possible approach would be a -no-feature ID option to disable built-in features and a make(3) variable CROSS_FEATURES that holds -[no-]feature options to be passed to csc when cross-compiling.

comment:3 Changed 14 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

In commit f2b3bf92fb606d42f1898b8ff914cb1c352d3c32, a make-variable named TARGET_FEATURES has been given, which should contain target-specific options that will be passed to chicken by csc. This, together with the -no-feature option added in 95ed1c2d2c1ae12558d80bf7f5b5e12441729dd2 should be a start.

Note: See TracTickets for help on using tickets.