[U-Boot] where is the stdarg in the u_boot source code

Simon Glass sjg at chromium.org
Sat Feb 2 17:32:16 CET 2013


Hi,

On Sat, Feb 2, 2013 at 4:23 AM, yanzhihui <yandriver8 at 163.com> wrote:

> hello sig:
>      such as the title, i can not find the file stdarg.h in the u_boot
> source code,but it call by the routine like #include <stdarg.h>,if you know
> that please tell me...
>


This should be provided by your toolchain. One way to see this is to run
your toolchain with -v to get the include directory. For example:

$ armv7a-cros-linux-gnueabi-gcc -v 2>&1 |awk 'RS=" "' |grep include
--includedir=/usr/lib/gcc/armv7a-cros-linux-gnueabi/4.7.x-google/include
--with-gxx-include-dir=/usr/lib/gcc/armv7a-cros-linux-gnueabi/4.7.x-google/include/g++-v4
$ ls /usr/lib/gcc/armv7a-cros-linux-gnueabi/4.7.x-google/include
arm_neon.h  g++-v4    mmintrin.h  stdalign.h  stdbool.h  stdfix.h
 stdint.h       unwind-arm-common.h  varargs.h
float.h     iso646.h  omp.h       stdarg.h    stddef.h   stdint-gcc.h
 stdnoreturn.h  unwind.h

Regards,
Simon


>    - Best Regard
>
>
>
>
>  name: yanzhihui
> addr: shanghai,china
>   [image: 二维码]
>
> 扫描该二维码,可以将电子名片迅速保存到手机 使用帮助<http://help.163.com/11/0824/14/7C7TL1U400753VB8.html>
>
>
>


More information about the U-Boot mailing list