No support for --sysroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.6-armel-cross (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
gcc-4.6-
Installed: 4.6.1-9ubuntu3c
Candidate: 4.6.1-9ubuntu3c
Version table:
*** 4.6.1-9ubuntu3c
500 http://
100 /var/lib/
It looks like the arm cross compiler doesn't support --sysroot:
$ mkdir -p mysysroot/
$ echo > mysysroot/
$ echo "#include <test.h>" > test.cpp
$ arm-linux-
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.cpp"
test.cpp:1:18: fatal error: test.h: No such file or directory
compilation terminated.
Where as the regular cpp works:
cpp --sysroot=
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.cpp"
# 1 "/home/
# 1 "test.cpp" 2
Status changed to 'Confirmed' because the bug affects multiple users.