[U-Boot-Users] compile u-boot (error)

Hi,
I am working on a project to bring up MPC 8240/8245. I try to use u-boot. However, I got error when I compile u-boot source code.
Since I am working a hardware by our company, I follow the instruction to create related files and then compile u-boot. The error message is:
gcc -Wall -pedantic -I ../include -I.. -D TEXT_BASE=0xFFF00000 -DUSE_HOSTCC -O -o img2srec.exe imag2srec.o /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lcygwin collect2: ld returned 1 exit status.
( I am working on window NT/cygwin platform.) Do anyone have similar experience?
Your suggestions and opinion will be great helpful for me. TIA.
David,

In message A4E787A2467EF849B00585F14C900559068B0E@18.172.in-addr.arpa you wrote:
gcc -Wall -pedantic -I ../include -I.. -D
TEXT_BASE=0xFFF00000 -DUSE_HOSTCC -O -o img2srec.exe imag2srec.o
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lcygwin collect2: ld returned 1 exit status.
Seems your native compiler toolchain is broken. It cannot find it's own libraries.
( I am working on window NT/cygwin platform.) Do anyone have similar experience?
Similar experience? In that people trying to use cygwin for develop- ment ran into problems? Yes, I've heard this many times before.
Your suggestions and opinion will be great helpful for me. TIA.
The solution for your problem is simple: install Linux on a free partition of your PC.
Best regards,
Wolfgang Denk
participants (2)
-
Chien-Lung Wu
-
Wolfgang Denk