www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/15/16:08:50

Date: Wed, 15 Nov 95 12:10:28 PST
From: Wayne Stewart <wstewa AT atl DOT com>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Building djgpp/gcc 2.6.3

Hi,

This question has probably been asked before, but since I didn't
see any specific answers in the FAQ (Rev 1.2), I'll go ahead and
ask it again and hope that somebody isn't bored with answering it:

I'm trying to build gcc 2.6.3 from the sources that come with
djgpp 1.12 (m4)

I followed the instructions in the FAQ as closely as possible:

    1) CONFIGUR.BAT?  Yes, in config/msdos but it looks like
       it's already been run.

    2) MAKEFILE.DJ or MAKEFILE.DJG?  No, so I used MAKEFILE
       (i.e., typed 'make')

    3) 'get a better shell' ?  Not sure about this one.  If
       this is the answer, maybe someone could be a little more
       specific about which 'more smart shell' I need?

Anyway, here are the problems I encountered:

    1) 'touch' command missing.

    2) GNU make seems to want to update 'Makefile' which is
       a dependency of 's-objlist'.  I'm not sure if the DOS
       port of GNU make sees 'Makefile' and 'makefile' as
       being different targets/files, but to 'build' Makefile
       it's trying to do a '/bin/sh config.status' which fails
       on my PC.  Could this be due to the missing 'more smart
       shell'?

    3) If I comment out the action for 'Makefile', it goes on to
       try to update 's-objlist' by running:

       echo.exe -o s-objlist <lots of object file names>

       This command line exceeds the 127 character limit and
       I can't seem to find an echo.exe that takes a '-o'
       option.  So I see about 120 characters of '-o s-objlist ...'
       echoed to the screen and the s-objlist target never
       gets updated.

Is this even the right 'makefile' to use?
Has anyone successfully used this 'makefile' to build the gcc
part of djgpp?  If so, how?

Please respond directly - I'm not on the mailing list yet.

Thank You,
    Wayne
    wstewa AT atl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019