This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setting include paths for a cross compiler in gcc 3.4.6






> On Aug 6, 2015, at 1:27 PM, Alan Lehotsky <alehotsky@me.com> wrote:
> 
> I have a funny situation where Iâm trying to build a cross compiler for x86 hosted on x86 where Iâd like to use the native headers and libraries. 
> 
> I tried defining INCLUDE_DEFAULTS, and that didnât help.  The documentation says itâs ignored for cross compilers.
> 
> Any suggestions, or am I going to have to fool the configuration scripts into thinking this is a host=target configuration?

Can't you use --sysroot=/ ? Or rather --with-sysroot=/ ?

Also 3.4 was released 10 years ago you might want to think about moving forward to a newer gcc. 

Thanks,
Andrew


> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]