mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] No c headers in sysroot-target/usr/include but all compiles well
@ 2014-11-14 10:19 Alan Martinovic
  2014-11-14 10:42 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Martinovic @ 2014-11-14 10:19 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]

Hi,

as the subject states, my IDE constantly complains about missing header files (example. <stdio.h> or <signal.h>).
The sysroot points to  sysroot-target/.
Checking the sysroot-target/usr/include the header files really aren't there.

What confuses me is that the compilation always passes without a problem.
I'm using the arm-v5te-linux-gnueabi-gcc compiler.

Shouldn't the header files be there? I have glibc selected in the config.
Since they aren't, you have any ideas on why would the compilation succeed?

DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.

[-- Attachment #1.2: Type: text/html, Size: 2885 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well
  2014-11-14 10:19 [ptxdist] No c headers in sysroot-target/usr/include but all compiles well Alan Martinovic
@ 2014-11-14 10:42 ` Michael Olbrich
  2014-11-14 10:46   ` Alan Martinovic
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2014-11-14 10:42 UTC (permalink / raw)
  To: ptxdist

Hi,

On Fri, Nov 14, 2014 at 10:19:58AM +0000, Alan Martinovic wrote:
> as the subject states, my IDE constantly complains about missing header files (example. <stdio.h> or <signal.h>).
> The sysroot points to  sysroot-target/.
> Checking the sysroot-target/usr/include the header files really aren't there.
> 
> What confuses me is that the compilation always passes without a problem.
> I'm using the arm-v5te-linux-gnueabi-gcc compiler.
> 
> Shouldn't the header files be there? I have glibc selected in the config.
> Since they aren't, you have any ideas on why would the compilation succeed?

These headers are in the toochain sysroot:
"arm-v5te-linux-gnueabi-gcc -print-sysroot" should give you the path.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well
  2014-11-14 10:42 ` Michael Olbrich
@ 2014-11-14 10:46   ` Alan Martinovic
  2014-11-14 10:52     ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Martinovic @ 2014-11-14 10:46 UTC (permalink / raw)
  To: ptxdist

Points only to the binary files, no headers.

-----Original Message-----
From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Michael Olbrich
Sent: Friday, November 14, 2014 11:42 AM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well

Hi,

On Fri, Nov 14, 2014 at 10:19:58AM +0000, Alan Martinovic wrote:
> as the subject states, my IDE constantly complains about missing header files (example. <stdio.h> or <signal.h>).
> The sysroot points to  sysroot-target/.
> Checking the sysroot-target/usr/include the header files really aren't there.
> 
> What confuses me is that the compilation always passes without a problem.
> I'm using the arm-v5te-linux-gnueabi-gcc compiler.
> 
> Shouldn't the header files be there? I have glibc selected in the config.
> Since they aren't, you have any ideas on why would the compilation succeed?

These headers are in the toochain sysroot:
"arm-v5te-linux-gnueabi-gcc -print-sysroot" should give you the path.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well
  2014-11-14 10:46   ` Alan Martinovic
@ 2014-11-14 10:52     ` Marc Kleine-Budde
  2014-11-14 11:10       ` Alan Martinovic
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2014-11-14 10:52 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1130 bytes --]

On 11/14/2014 11:46 AM, Alan Martinovic wrote:
> Points only to the binary files, no headers.

Works here:

$ find `/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-gcc -print-sysroot` -name "*.h" | wc -l
1086

$ find `/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-gcc -print-sysroot` -name "stdio.h"   
/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/usr/include/bits/stdio.h
/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/usr/include/stdio.h


Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well
  2014-11-14 10:52     ` Marc Kleine-Budde
@ 2014-11-14 11:10       ` Alan Martinovic
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Martinovic @ 2014-11-14 11:10 UTC (permalink / raw)
  To: ptxdist

My bad. 
Works.

Thank you Marc

-----Original Message-----
From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Marc Kleine-Budde
Sent: Friday, November 14, 2014 11:53 AM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] No c headers in sysroot-target/usr/include but all compiles well

On 11/14/2014 11:46 AM, Alan Martinovic wrote:
> Points only to the binary files, no headers.

Works here:

$ find `/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-gcc -print-sysroot` -name "*.h" | wc -l
1086

$ find `/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-gcc -print-sysroot` -name "stdio.h"   
/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/usr/include/bits/stdio.h
/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/../sysroot-arm-v5te-linux-gnueabi/usr/include/stdio.h


Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.
-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-14 11:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 10:19 [ptxdist] No c headers in sysroot-target/usr/include but all compiles well Alan Martinovic
2014-11-14 10:42 ` Michael Olbrich
2014-11-14 10:46   ` Alan Martinovic
2014-11-14 10:52     ` Marc Kleine-Budde
2014-11-14 11:10       ` Alan Martinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox