|
I have gone through the HowTo setup legOS. The only problem I have had is
that none of the demo code projects can compile. They all fail with
[demo]# make
/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-gcc -O2
-fno-builtin -fomit-frame-pointer -Wall -I/home/mruelle/dnload/legOS/include
-I/home/mruelle/dnload/legOS/include/lnp -I. -I../boot/ -c helloworld.c -o
helloworld.o
/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-ld -T
../boot/legOS.lds -relax -L/home/mruelle/dnload/legOS/lib helloworld.o -lc
-lmint -lfloat -o helloworld.ds1 -Ttext 0xb000
/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-ld -T
../boot/legOS.lds -relax -L/home/mruelle/dnload/legOS/lib helloworld.o -lc
-lmint -lfloat -o helloworld.ds2 -Ttext 0xb210
/home/mruelle/dnload/legOS/util/makelx helloworld.ds1 helloworld.ds2
helloworld.lx
usage: /home/mruelle/dnload/legOS/util/makelx file.ds1 file.ds2 file.lx
[-sstacksize -v]
size in hex, please.
make: *** [helloworld.lx] Error 1
rm helloworld.ds1 helloworld.ds2
The egcs compile did only the common complaint mention in the HowTo.
I have seen a thread here and the person said they were going to
try another distro.
I am going to try this as well but I would like to know if anybody has tried
making the egcs cross compiler using the Redhat compiler kgcc which i believe
is gcc 2.95 and is used on Redhat 7.0 to only compile kernels.
Any hints to either approach would be appreciated or if someone else has
used redhat 7 with success I would like to hear how they did it. Much thanks,
Mike Ruelle
mruelle@world.std.com
http://world.std.com/~mruelle/
|
|
Message has 1 Reply: | | Re: Redhat 7 and legOS
|
| Just following up my own message. I have just tried the instructions with kgcc in redhat 7. It fails with exactly the same problem. All binutils and egcs compiled normally with kgcc except for the one error specified in the HOWTO. Mike Ruelle (...) (24 years ago, 15-Jan-01, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|