[U-Boot-Users] Building U-Boot with GCC3.4.0

Jim McNamara jmcnamara at kimble.ie
Tue Nov 9 14:35:07 CET 2004


Hi Benjamin,

Have a look at the patches posted by Yuli Barcohen (2004-07-19) and Lars
Munch (2004-07-24).

Do a search of the mail archive and you should find them easy enough.

Jim.

> -----Original Message-----
> From: Benjamin Collar [mailto:benjamin.collar at siemens.com]
> Sent: 09 November 2004 12:42
> To: Jim McNamara
> Subject: Re: [U-Boot-Users] Building U-Boot with GCC3.4.0
>
>
> Hi Jim
>
> I can't help you on your problem, but I'm just wondering, since I'm in a
> similar situation, what are the necessary Cygwin patches?
>
> Thanks
> Ben
>
> On Tue, 2004-11-09 at 12:10 +0000, Jim McNamara wrote:
> > Hi All,
> >
> > I've been able to get U-Boot to build and run successfully
> using Linux and
> > m68k-elf-2.95.3.
> >
> > What I'm trying to do now is build U-Boot in Cygwin using
> m68k-elf-3.4.0.
> > I've applied all the cygwin patches neccessary and any GCC3.4.0
> patches I
> > could find. However, I've run into a problem compiling
> cpu/mcf52x2/start.S.
> > This is the error message that I'm getting:-
> >
> > m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -ffixed-d7
> -msep-data -D__
> > KERNEL__ -DTEXT_BASE=0xfe000000
> -I/home/JimMcNamara/u-boot-1.1.1/include -fn
> > o-builtin -ffreestanding -nostdinc -isystem
> > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include -pipe
> -DCONFIG_M68K -D__M68K_
> > _ -m5307 -c -o cpu/mcf52x2/start.o
> > /home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S
> > /home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S: Assembler messages:
> > /home/JimMcNamara/u-boot-1.1.1/cpu/mcf52x2/start.S:316: Fatal
> error: Tried
> > to convert PC relative conditional branch to absolute jump
> > make: *** [cpu/mcf52x2/start.o] Error 1
> >
> > I've looked at the mail archive and noticed that this problem has been
> > mentioned before, however I can't find any solution posted. Can
> anyone give
> > me some pointers on how to resolve the problem??
> >
> > Thanks,
> >
> > Jim...
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> --
> Benjamin Collar
> Siemens AG
> CT SE 2
> Embedded Linux
> 089-636-53711
>
>
>





More information about the U-Boot mailing list