add ability to build cross compiler
Bug #863101 reported by
Marcin Juszkiewicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-snapshot (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Rather no one will build gcc-snapshot as cross compiler but I got this functionality done during work on gcc-linaro packages (native + cross).
My patches were made with 20110813 version so current version needs work - gcc-multiarch.diff got rewritten since then so my changes would need to be adapted first.
I will apply all patches which alter packaging to make it work.
Changed in gcc-snapshot (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
To post a comment you must log in.
This patch is hardcoding /usr/TRIPLET/ include for cross builds. Normally it is PF/TRIPLET/include but gcc-snapshot has PF != /usr so it does not work.
I think that this can be changed to:
ifeq (gcc-snapshot) trunk.diff
debian_patches += cross-include-
else
debian_patches += cross-include.diff
endif
way where attached patch would be used to create cross-include- trunk.diff
cause I would prefer to not hardcode it for all cases. Opinion?