This is the mail archive of the crossgcc@sourceware.org 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]
Other format: [Raw text]

Re: cygwin to m68000 cross compiler


On (29/10/08 15:00), Doug Broadwell wrote:
> I understand the gcc 4.3.2 requires GMP and MPFR so I'm trying to build 
> GMP as follows:
>
>
>
> # bld-gmp.sh
> # Run me 2ond.
>
> export PREFIX=/usr/local/m68k-4.3.2
> export PATH=$PREFIX/bin:$PATH
>
> if [ ! -d bld-gmp ] ; then mkdir bld-gmp ; fi
> rm -r bld-gmp/*
> tar jxvf gmp-4.2.tar.bz2
>
> cd bld-gmp
> ../gmp-4.2/configure --build=i686-pc-cygwin --host=m68000-unknown-coff 

GCC needs GMP and MPFR on host which is cygwin in your case. Here you
are trying to cross compile GMP which is not what you need. 


If cygwin provides these packages then install them and use them dont
bother to build it yourself.

-Khem

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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