On Tue, 15 Jan 2008 15:58:03 +0100, Research&Development Freelance <[EMAIL PROTECTED]> wrote:

Hi mates,

I'm new working with uCLinux and I have some problems preparing the
environment.
I'm using a Ubuntu 7.10, and it distribution (as others) have a gcc compiler
by default (version 4.1.3).
I have installed the m68k-elf toolchains, but the systems uses the default
ubuntu compiler to compile
the uCLInux kernel.
I have tried to change .bashrc file and used update-alternatives to change
the default compiler, but
it doen't work.
Someone could help me?

Thanks a lot,

Ismael

Hi Ismael
Please check the following: somewhere the installation script of the m68k-elf toolchain has installed the program m68k-uclinux-elf - and possibly a link to this program in the same directory. The link is called m68-elf-gcc and on my debian etch system, all this is located in /usr/local/bin/

The make-file then invokes this special gcc using the call (example)
m68k-elf-gcc -m5307 -Wl,-elf2flt -o ${EXECNAME} ${EXECNAME}.c

If you have more than one m68-elf-gcc on your system, then the directory of the one you want to run should come first in the PATH environment variable. You can check the PATH-variable by typing
echo $PATH
in a terminal window. Hope this helps.
Regards Bob
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to