Loonie
Active Member
- Joined
- Apr 1, 2003
- Messages
- 753
Hi all,
I've been setting up my dev environment to stat making some Pandora stuff, but I've hit an obstacle. Note: I am working in Windows (*spit, spit*)
I've set up the toolchain from the Code Sourcery site (I'm using arm-2011.09\arm-none-linux-gnueabi), I've grabbed the additional Pandora/Amstrong stuff and had a go at compiling my simple SDL test stuff that I can compile on Dingoo (Dingux) and Windows. Everything seems to compile, I'm just hitting a problem with linking.
To make things even simpler, I knocked up a "hello world" type thing:
but I'm still hitting the same error. At the linking stage, it announces:
I have even found a directory where these files reside and have provided the linker with a path to both the files themselves, and to the folder that would take it to the files in question with the path it was appending to the file (e.g. /usr/lib/libc_nonshared.a) but just no dice. It's finding all the SDL stuff quite happily, but I just can't get it past this point.
Any of you smarter, more experienced folk able to shed any light? Damn, so close...
I've been setting up my dev environment to stat making some Pandora stuff, but I've hit an obstacle. Note: I am working in Windows (*spit, spit*)
I've set up the toolchain from the Code Sourcery site (I'm using arm-2011.09\arm-none-linux-gnueabi), I've grabbed the additional Pandora/Amstrong stuff and had a go at compiling my simple SDL test stuff that I can compile on Dingoo (Dingux) and Windows. Everything seems to compile, I'm just hitting a problem with linking.
To make things even simpler, I knocked up a "hello world" type thing:
Code:
#include <stdio.h>
int main()
{
printf ("Whoops Mrs. Miggins, you're sitting on my artichokes!");
return 0;
}
but I'm still hitting the same error. At the linking stage, it announces:
c:/dev/pandora/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld.exe: cannot find /lib/libc.so.6
c:/dev/pandora/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld.exe: cannot find /usr/lib/libc_nonshared.a
c:/dev/pandora/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld.exe: cannot find /lib/ld-linux.so.3
collect2: ld returned 1 exit status
I have even found a directory where these files reside and have provided the linker with a path to both the files themselves, and to the folder that would take it to the files in question with the path it was appending to the file (e.g. /usr/lib/libc_nonshared.a) but just no dice. It's finding all the SDL stuff quite happily, but I just can't get it past this point.
Any of you smarter, more experienced folk able to shed any light? Damn, so close...