1. ./configure
When i type "./configure", I get the error msg "No memory available". The methods of dealing with it in
'configure' fails when compiling some GNU tool.
2. After installing the gcc, I can't run gcc. When Arun give me hints, I set the evn
as "export PATH=$PATH:/usr/gnu/bin" and gcc works.
3. With unsopported 64-bit data byte
When I use cc on Minix 3.1.2a, It is no support 64-bit int. Now I turn to gcc no Minix 3.1.4, It works well.
4. /usr/gnu/bin/gld: crtso.o: No such file: No such file or directory.
After i have installed gcc 4.1.1, when i run ./configure, it failed. I checked tht log, and found the error msg:"/usr/gnu/bin/gld: crtso.o: No such file: No such file or directory.". I found the doc from internet
# cd /usr/src/lib
# make all-gnu install-gnu
However, I also face trouble.
At the time, I reintalled Minix 3.1.4 and install gcc from ISO image of Minix 3.1.2a , and ./configure works well.
5. make: Don't know how to make ./macros/*.mac
When i got the error msg, i checked Makefile and found the corelative line:
macros.c: macros.pl pptok.ph standard.mac version.mac \
$(srcdir)/macros/*.mac $(srcdir)/output/*.mac
$(PERL) $(srcdir)/macros.pl $(srcdir)/standard.mac version.mac \
$(srcdir)/macros/*.mac $(srcdir)/output/*.mac
I couldn't found what wrong with it. So i modified the part as follows:
macros.c: macros.pl pptok.ph standard.mac version.mac \
$(srcdir)/macros/altreg.mac \
$(srcdir)/macros/smartalign.mac \
$(srcdir)/output/outaout.mac \
$(srcdir)/output/outbin.mac \
$(srcdir)/output/outelf.mac \
$(srcdir)/output/outobj.mac \
$(srcdir)/output/outrdf2.mac \
$(srcdir)/output/outas86.mac \
$(srcdir)/output/outcoff.mac \
$(srcdir)/output/outmacho.mac \
$(srcdir)/output/outrdf.mac
$(PERL) $(srcdir)/macros.pl $(srcdir)/standard.mac version.mac \
$(srcdir)/macros/altreg.mac \
$(srcdir)/macros/smartalign.mac \
$(srcdir)/output/outaout.mac \
$(srcdir)/output/outbin.mac \
$(srcdir)/output/outelf.mac \
$(srcdir)/output/outobj.mac \
$(srcdir)/output/outrdf2.mac \
$(srcdir)/output/outas86.mac \
$(srcdir)/output/outcoff.mac \
$(srcdir)/output/outmacho.mac \
$(srcdir)/output/outrdf.mac
And it works well.
At last, I write a Makefile.pl to change this part Makefile.
阅读(1800) | 评论(0) | 转发(0) |