This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi all, I think I am on my way with some problems. After reading "Specifying Target Machine and Compiler Version" at page: http://gcc.gnu.org/onlinedocs/gcc-3.0.1/gcc_3.html#SEC19 and Jan's mail. I write the following commands: 1) ln -s /usr/local/lib/gcc-lib/powerpc-unknown-eabi/ ./powerpc-unknown-eabi/ 2) /usr/local/bin/powerpc-unknown-eabi-gcc.exe -b powerpc-unknown-eabi -o test -mcpu=860 test.c But still I get the same error as before i.e. ***************************************************** /usr/local/powerpc-unknown-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074 /cygdrive/c/TEMP/ccR6SUgD.o: In function `main': /cygdrive/c/TEMP/ccR6SUgD.o(.text+0x24): undefined reference to `printf' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi.o)(.got2+0x8): undefined reference to `__SDATA_START__' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi.o)(.got2+0xc): undefined reference to `__SBSS_END__' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi.o)(.got2+0x14): undefined reference to `__SDATA2_START__' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi.o)(.got2+0x18): undefined reference to `__SBSS2_END__' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi-ctors.o): In function `__do_global_ctors': /source/build/ppcgcc/gcc/eabi-ctors.c(.text+0x1e): undefined reference to `__CTOR_END__' /source/build/ppcgcc/gcc/eabi-ctors.c(.text+0x26): undefined reference to `__CTOR_LIST__' /source/build/ppcgcc/gcc/eabi-ctors.c(.text+0x2a): undefined reference to `__CTOR_LIST__' /source/build/ppcgcc/gcc/eabi-ctors.c(.text+0x2e): undefined reference to `__CTOR_END__' /usr/local/lib/gcc-lib/powerpc-unknown-eabi/2.95.3/libgcc.a(eabi-ctors.o): *********************************** Any comments? thanks regard /Mohammad --- Vermeulen Jan <Jan.Vermeulen@siemens.atea.be> wrote: > Hello, > > >Thanks for your reply. > > You're welcome. > > >I see there are two variants certain executable > file > >under two catalgues like, once catalogue > containing: > >C:\cygwin\usr\local\powerpc-unknown-eabi\bin > <snip> > >and the other one > >/usr/local/bin containging the following files: > <snip> > > > >As you see as, ld , gcc are found in both catalogue > >with only the differnce of prefix > >powerpc-unknown-eabi. > >What is the differnce between these two variants. > > There is no difference. > If you do a 'windiff' of use another > compare-program, you will see that both > of them are identical to the last bit. > > As to the 'why?', I have no answer. > I think that the power-pc-unknown-eabi-* can be used > by the user directly, > and those found in > /usr/local/powerpc-unknown-eabi/bin are used by GCC > in > its sub-processes. > But, again, i am not sure. > > Maybe it is something that has grown into this > structure over time. > > Best regards, > jan > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com > __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |