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: Crosscompiling Python for sh4


Teja:

> Sorry to say this but i have tried all those and
> turned to crossgcc as a last chance. i have cross
> checked the scripts and i'm sure it is fine, and i
> have all the  compilers of sh4. 
> 
> what are the normal procedural steps to be taken to
> create a binary of some thing on a particular machine
> with its compilers on the other machine.

Rather than us providing an answer to that question (which would be
long and boorish), why don't you post the exact script you are using
to build Python?  Maybe the answer will be easier to find there.

Thanks!


b.g.

> 
> regards
> Teja Sastry
> 
> 
> 
> 
> 
> 
> --- "William A. Gatliff" <bgat@saturn.billgatliff.com>
> wrote:
> > Phani:
> > 
> > 
> > $ CC=<target-compiler> configure ... 2>&1 | tee
> > configure.log
> > $ make all install 2>&1 | tee make.log
> > 
> > Check through the configure.log and make.log files
> > carefully, they
> > will tell both how and why the build process is
> > building the wrong
> > executables.
> > 
> > If that doesn't help, then send them to mrbrown. 
> > :^)
> > 
> > 
> > b.g.
> > 
> > 
> > On Fri, Sep 28, 2001 at 12:41:26PM -0700, Phani Teja
> > Kuruganti wrote:
> > > 
> > > 
> > > Thank you Mr. Brown.
> > >  I have tried all the combinations but still the
> > > binary i had generated is working on my
> > i686-pc-linux
> > > system, it should actually not! should i make any
> > > major changes in the configure script other than
> > > setting up the crosscompilers? 
> > > 
> > > thanking you again
> > > 
> > > Yours Truly
> > > Phani Teja Sastry
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- "M. R. Brown" <mrbrown@0xd6.org> wrote:
> > > > * Phani Teja Kuruganti <tejdot@yahoo.com> on
> > Fri,
> > > > Sep 28, 2001:
> > > > 
> > > > > HI,
> > > > >  
> > > > >   I'm trying to generate a binary of python
> > for
> > > > sh4
> > > > > processor. i have all the cross compilers (
> > > > sh4-linux
> > > > > *..). I have change dthe configure script to
> > > > include
> > > > > thses files instead of the gcc one's. after
> > all
> > > > the
> > > > > modifications and i run autoconf on the
> > > > configure.in
> > > > > i'm still getting the binary that still works
> > on
> > > > the
> > > > > intel based linux system. I'm new to this
> > coding.
> > > > is
> > > > > there any body who have lived into a situation
> > > > like
> > > > > this though on a different processor. I just
> > want
> > > > to
> > > > > know if what i'm doing is correct.
> > > > > 
> > > > 
> > > > Make sure you specify that your primary C
> > compiler
> > > > is sh4-linux-gcc, the
> > > > easiest way to do this is by:
> > > > 
> > > >   # CC=sh4-linux-gcc ./configure ...
> > > > 
> > > > Also, since python uses autoconf, hopefully it's
> > > > smart enough to include
> > > > the autoconf rules for cross-compiling.  You
> > should
> > > > hopefully be able to
> > > > do:
> > > > 
> > > >   # CC=sh4-linux-gcc ./configure ...
> > > > --build=`arch`-linux --host=sh-linux
> > > > 
> > > > Reference the autoconf documentation for more
> > > > details, I'm a bit sketchy at
> > > > the moment.
> > > > 
> > > > M. R.
> > > > 
> > > > ------
> > > > Want more information?  See the CrossGCC FAQ,
> > > > http://www.objsw.com/CrossGCC/
> > > > Want to unsubscribe? Send a note to
> > > > crossgcc-unsubscribe@sourceware.cygnus.com
> > > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Listen to your Yahoo! Mail messages from any
> > phone.
> > > http://phone.yahoo.com
> > > 
> > > ------
> > > Want more information?  See the CrossGCC FAQ,
> > http://www.objsw.com/CrossGCC/
> > > Want to unsubscribe? Send a note to
> > crossgcc-unsubscribe@sourceware.cygnus.com
> > > 
> > 
> > -- 
> > Bill Gatliff
> > bgat@billgatliff.com
> > 
> > ------
> > Want more information?  See the CrossGCC FAQ,
> > http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to
> > crossgcc-unsubscribe@sourceware.cygnus.com
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
> 

-- 
Bill Gatliff
bgat@billgatliff.com

------
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]