Skip to contentSkip to conversation

where is the stdarg in the u_boot source code

U-Boot Simon Glass 1 participant 1 message Feb 2, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 5 lines · yanzhihui

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

Quoted 13 lines

- Best Regard

name: yanzhihui
addr: shanghai,china
[image: ???]

????????????????????? ????<http://help.163.com/11/0824/14/7C7TL1U400753VB8.html>