Re: Cross compiler build fails for bad inclusion

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

 



In your linux system, is there the file pthread.h under /usr/include?

Regards              /)/)
                    (-.-)
Qinfeng Zhang

Philips Research East Asia - Shanghai
Tel: (86-21) 6354 1088 Ext. 5356
Fax: (86-21) 6354 4954
Email: qinfeng.zhang@xxxxxxxxxxx


                                                                                                                                                                 
                                                                                                                                                                 
                                                   To:   gcc-help@xxxxxxxxxxx                                                                                    
                                                   cc:   (bcc: Qinfeng Zhang/SHA/RESEARCH/PHILIPS)                                                               
                                                   Subject:    Cross compiler build fails for bad inclusion                                                      
                                                                                                                                                                 
               Ghassan Shobaki                     Classification:                                                                                               
               <gshobaki@xxxxxxxxxxxxxx                                                                                                                          
               u>                                                                                                                                                
                                                                                                                                                                 
               Sent by:                                                                                                                                          
               gcc-help-owner@xxxxxxxxx                                                                                                                          
               rg                                                                                                                                                
                                                                                                                                                                 
               2004-01-02 07:31                                                                                                                                  
                                                                                                                                                                 
                                                                                                                                                                 




Hi,

I am currently trying to build an hppa-linux cross compiler. The build
fails because it cannot find the header files pthread.h and unistd.h. The
files do exist under   gcc-3.3.1/gcc/fixinc/tests/base (which seems to be
some sort of patch). However, I don't know how to get gcc to see them. Of
course, Itried adding that directory to my path, but that did not help.
I tried to search the gcc manual for information on how to set the include
path (which I don't think I am supposed to do by myself), but could not find
anything.
Any idea how what the problem is and how I can solve it?

Thanks

-Ghassan







[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux