Opened 16 years ago
Closed 16 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 )
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 by , 16 years ago
| Description: | modified (diff) |
|---|---|
| Milestone: | 4.3.0 |
comment:2 by , 16 years ago
| Keywords: | cross-development added |
|---|---|
| Priority: | minor → not urgent at all |
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
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.

One possible approach would be a
-no-feature IDoption to disable built-in features and amake(3)variableCROSS_FEATURESthat holds-[no-]featureoptions to be passed tocscwhen cross-compiling.