This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
At 10:54 AM 3/9/00 +0100, Dumortier wrote: >Hi everybody! > >After having installed Binutils, gcc, I am now figthing with newlib! > >My problem is the following : >I configure the newlibs in two differents ways : > >build-newlib> ../newlib-1.8.2/configure --target=powerpc-eabi >--prefix=/local/ppc -v > >OR (following an advice of Brendan J Simon that I thank for answering me >each time!) > >build-newlib> ../newlib-1.8.2/configure --target=powerpc-eabi >--prefix=/local/ppc/powerpc-eabi -v > >No problem during the configuration, so let's make it > >build-newlib> make all install > >And for the 2 different configurations I had the following error : > >############################################################################ >a - times.o >a - unlink.o >a - wait.o >a - write.o >powerpc-eabi-ranlib libnosys.a > >make: Fatal error: Don't know how to make target `sim-crt0.S' > >Current working directory >/local/build-newlib/powerpc-eabi/libgloss/rs6000 >*** Error code 1 >make: >Fatal error: Command failed for target `stmp-bsp' >Current working directory >/local/build-newlib/powerpc-eabi/libgloss >*** Error code 1 >make: Fatal >error: Command failed for target >`all-target-libgloss' >###################################################### > >Obviously there is a problem with the makefile. According to me, he does >not know how to make *.S file but it's maybe not the point. >Was somebody already confronted with this problem? Is there something that >I could add in the makefile so that he could recognize this file? Or am I >completly wrong and it has nothing to do with the Makefile? Some precisions about the Makefile newlib-1.8.2/libgloss/rs6000/Makefile.in because I worked on it during all the day... - most of the file *.o mentionned in the Makefile do not point out to the sources. for example there is a line SIM_OBJS = sim-print.o sim-inbyte.o ... there is no line sim-print.o: sim-print.c so that 'make' does not know from which file he has to build sim-print.o ! I had to add them manually for all the *.o file which source was not mentionned (and there is about 4-5). - a name is eroneous : mount.o: mount.S in the Makefile.in should be replaced by mcount.o: mcount.S So, because he couldn't make the *.S file, I decided to make them 'handly' so I preprocessed this file (cpp), assemble them (as) and replace the link like sim-crt0.o: sim-crt0.S by sim-crt0.o: sim-crt0.o so that it has not to make the file *.S and file directly the object file. But then, after all that, 'make all install' generated an other error : make : does not know how to make the target 'sim-print.c' So, what??? what does not work, is that the makefile (the rules to make *.o file are missing?), or the newly-built gcc that should normaly recognize the file and make them in the right way? I am lost, and have any experience with makefile, so I would be happy to get some help about this! Merci beaucoup! Johann ________________ Johann Dumortier Gibraltargatan 82/101 412 79 Göteborg SWEDEN jdumorti@ce.chalmers.se _______________________ ------ 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] |