This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: i686-linux as host and target




Changwoo Pyo wrote:

> Is there any way of building gcc for i686-linux as a cross compiler, while the same platform is used for host and build machine.
> I modified 386.md and cannot generate complete executable machine code.
> So compiling library, bootstraping etc. are meaningless right now.
> I just want to dump out rtl code and assemby code for an experimental purpose at this point.
> 

I kinda doubt it. If host=target it will treat it as a native compiler.
The only way I ever made this work was host=i586-linux and
target=i686-linux. This used to be enough to fool configure into
realizing that you really wanted a cross compiler.

> Thanks in advance.
> 
> Changwoo Pyo


-- 
Joe


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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