Skip to contentSkip to conversation

Building U-Boot with GCC3.4.0

U-Boot-Users Jim McNamara 1 participant 1 message Nov 9, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1100004103.23243.35.camel@mhpajh5c

#1 lore raw

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.

Quoted 74 lines

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

Quoted 3 lines · Jim McNamara

Hi All,

I've been able to get U-Boot to build and run successfully

using Linux and

Quoted 3 lines

m68k-elf-2.95.3.

What I'm trying to do now is build U-Boot in Cygwin using

m68k-elf-3.4.0.

Quoted 1 line

I've applied all the cygwin patches neccessary and any GCC3.4.0

patches I

Quoted 1 line

could find. However, I've run into a problem compiling

cpu/mcf52x2/start.S.

Quoted 3 lines

This is the error message that I'm getting:-

m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -ffixed-d7

-msep-data -D__

Quoted 1 line

KERNEL__ -DTEXT_BASE=0xfe000000

-I/home/JimMcNamara/u-boot-1.1.1/include -fn

Quoted 2 lines

o-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include -pipe

-DCONFIG_M68K -D__M68K_

Quoted 4 lines

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

Quoted 5 lines

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

Quoted 8 lines

me some pointers on how to resolve the problem??

Thanks,

Jim...

Quoted 9 lines

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