Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1297361
  • 博文数量: 196
  • 博客积分: 4141
  • 博客等级: 中将
  • 技术积分: 2253
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-21 20:04
文章存档

2019年(31)

2016年(1)

2014年(16)

2011年(8)

2010年(25)

2009年(115)

分类: C/C++

2009-04-08 23:41:14

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.
  
阅读(1769) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~