Re: where can I get the standard include path of gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...
Dear all:
Below are my source code.
#include<stdio.h>
#include<asm-i386/Types.h>

int main(void){
    u64 u64value;

    u64value = 0x2e32;
    printf("u64value = %0x\n",u64value);
}

While compiling it, the gcc tells me that it cannot find the Type.h.
Of course, because the name is types.h and it's under asm directory, not asm-i386.
# ls -al /usr/include/asm/typ*
-rw-r--r-- 1 root root 643 2007-05-24 09:35 /usr/include/asm/types.h

have you double checked your /usr/include and see if it really has asm-i386 directory?

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux