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]
Other format: [Raw text]

RE: Cross-Compiling gcc 3.2.3 for arm-elf


Vincent,

GCC 3.2.3 works just fine for me on both ARM and PowerPC.

Please note that both in my email and in the modifications to Bill's script,
I am using GCC 3.2.3. Bill's script file comments remain - I just changed
the files called starting on line 155. Bill's original script may be found
at:
  http://crossgcc.billgatliff.com/

Building a cross compiler is a tedious process. There are include files
which are required for the final stage of the compiler which are in turn the
product of the compiler build.

Bill does an excellent job of explaining the process on his web site:
  http://crossgcc.billgatliff.com/crossgccfaq/t1.html

Bill also has a very complete set of articles on his Crossgcc Wiki site:
  http://billgatliff.com/twiki/bin/view/Crossgcc/WebHome


Regards,
- dan



> -----Original Message-----
> From: Vincent Rubiolo [mailto:vincent.rubiolo@free.fr]
> Sent: Monday, May 12, 2003 4:55 AM
> To: Daniel Poirot
> Cc: crossgcc@sources.redhat.com
> Subject: Re: Cross-Compiling gcc 3.2.3 for arm-elf
>
>
> Hello Daniel,
>
> Thank you for your quick reply. I didn't know about Bill's document (which
is
> excellent btw).
>
> My question is : why using an old compiler whereas the 3.x series is the
std
> for now ?
>
> Also: why does the command to build whole gcc native is "make bootstrap"
> whereas the bare version used to build target specific runtime libs is
called
> a bootstrap compiler?
>
> Thanks a lot for your solution. I keep it as a workaround if everything
fails.
>
> Regards,
>
> Vincent
>
> Quoting Daniel Poirot <dtpoirot@sbcglobal.net>:
>
> > Hello Vincent,
> >
> > I have had most excellent results using Bill Gatliff's build script
> > under CYGWIN (updated for the latest releases of tools).
> >
> > I have used the attached shell script to build the following:
> >   binutils-2.13.2.1
> >   gcc-3.2.3
> >   newlib-1.11.0
> >
> > Please give it a try and let us know if it works for you.
> >
> >
> > Start with a clean install from http://www.cygwin.com/setup.exe  The
> > only additional packages I add are gcc-2, make and man.
> >
> > Download binutils-2.13.2.1, gcc-3.2.3, newlib-1.11.0 and gdb-5.3 from
> > one of the GNU mirrors. I put them in C:\Temp
> >
> > Start CYGWIN from the desktop icon to create your account.
> >
> > Copy the attached shell script file to your home directory.
> >
> > Enter 'export CC=gcc-2' to select the gcc-2 compiler as default.
> >
> > Enter 'build_crossgcc.sh', select 1 for arm-elf, install the tools in
> > '/usr/local', tell it the tarballs are in '/cygdrive/c/temp' and let
> > her rip...
> >
> >
> > Works for me. ;-)
> >
> > Regards,
> > - dan


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


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