[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Thanks for the patch. Some more questions
Thanks for the patches I was finally able to get my
hello world app to compile outside of the the ucLinux
kernel. I did have to do one work around to get it to
compile though. I kept getting the following error
when doing a make of the hello world app:
[john@248-COEN--885-23074 hello_app]$ make
ucfront-gcc mb-gcc -c -Os -g -fomit-frame-pointer
-fno-common -fno-builtin -Wall -mxl-soft-mul
-mxl-soft-div -DEMBED -Dlinux -D__linux__ -Dunix
-D__uClinux__ -o hello.o hello.c
make: ucfront-gcc: Command not found
make: *** [hello.o] Error 127
To get around this I ended up adding
"..uClinux-dist/tools" to my path. Is this a
reasonable work around or is there a better way to do
this?
Also while trying to compile the kernel I am still
running into problems. First error I came upon said
that it could not find
"uClinux-dist/linux-2.4.x/.configucfront-gcc". I
removed the "ucfront-gcc" off that line (line 45) of
the makefile in uClinux-dist and that seemed to help
it get a little farther into the make process. Again
was that the right correct to make?
At this point I got the following error after doing
make:
l-soft-div -DEMBED -Dlinux -D__linux__ -Dunix
-D__uClinux__ -c -o obj/callchain.o src/callchain.c
In file included from src/callchain.c:24:
src/config.h:12: #error Your architecture is not
supported
make[2]: *** [obj/callchain.o] Error 1
make[2]: Leaving directory
`/home/john/uclinux_code/uClinux-dist/lib/libccmalloc'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/john/uclinux_code/uClinux-dist/lib'
make: *** [subdirs] Error 1
Does this just mean that I need to correct something
in my config? Anything else I should look at?
Cheers,
John
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/