Hi again,
Again, thanks for your help Adam! =) I already had used both my GCC
compiler and the cross compilation tool compiler (not the
mipsel-linux-uclibc-gcc but the mipsel-linux-gcc, maybe they are exactly
the same, I don't know) without any problems. Still, I tried what you
suggested and everything worked fine, without any problems. So I really
don't know what to do to solve this.
Again, can anyone help me?
Nuno Fernandes
Adam Nielsen wrote:
>
>
> > Many thanks for your help Adam, but unfortunately everything seems to
> > remain more or less the same if I use --host=mipsel-linux or
> > --host=mipsel-linux-uclibc and then make =\ I just noted that now it's
> > checking the host system type as mipsel-unknown-linux-uclibc instead of
> > mipsel-unknown-elf, like it was before, but I guess that's kind of
> > normal. I'm attaching the output for the comands ./configure
> > --host=mipsel-linux-uclibc and then make on files configure_output.txt
> > and make_output.txt, respectively.
>
> It looks like mipsel-linux-uclibc is the right way to go, you can see
> from the configure output that it's detecting more programs (so no doubt
> this has fixed some other errors you would've gotten later on.)
>
> You'll probably need to confirm the C library is installed correctly,
> e.g. put this into test.c:
>
> #include <stdlib.h>
>
> int main(void)
> {
> void *dummy = malloc(1024);
> free(dummy);
> return 0;
> }
>
> Then see if it will compile:
>
> $ gcc -o test test.c
> $ mipsel-linux-uclibc-gcc -o test test.c
>
> If this program won't cross-compile, you'll need to fix your cross
> compiler installation.
>
> Cheers,
> Adam.
>
>