delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/02/07:54:29

Date: Fri, 2 Jun 1995 12:44:26 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: fischer AT optics DOT rochester DOT edu
Subject: trying to install LIBGRX
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> C:\DJGPP\CONTRIB\LIBGRX>make
> make.exe: Nothing to be done for `drvrs'.
> make.exe: Nothing to be done for `all'.
> makefile.gcc:1: *** missing separator.  Stop.

You are using the wrong Make program.  This is explained in the DJGPP
FAQ list:
 
10.9  Q: When I try to recompile the LIBGRX graphics library, I get error
         messages from Make saying ``missing separator''.  But I didn't
         even touch those Makefiles, so what gives??
      A: LIBGRX was developed with Borland version of Make, so it uses
         features specific to that program.  The reason for this is that
         with DJGPP Make, you cannot reliably run 2-3 levels of nested
         Makes.  Therefore, to compile LIBGRX you have to use Borland's
         Make or else convert all the Makefiles to GNU Make syntax.  If
         you use one of the Borland's products, be sure not to use one of
         those which run in protected mode (like the one supplied with
         Borland C++), because it's incompatible with DJGPP (see Section
         6.14 above); use Make from any Turbo compiler instead.  If you
         want to convert to GNU Make, then here is a list of major
         differences:
 
           * Borland Make doesn't insist that commands in the rules start
             with a TAB (it can be blanks); GNU Make barfs on command
             lines which start with blanks.
 
           * The syntax for conditional directives is different:
 
             Borland syntax            GNU syntax
             -------------------------------------------------------
             !include "file"           include file
             !else                     else
             !endif                    endif
             !undef symbol               -
             !error "string"             -
             !if expression              - (use ifeq/ifneq or ifdef)
             !if $d(symbol)            ifdef(symbol)
             !if !$d(symbol)           ifndef(symbol)
             !elif                       - (use else and ifeq/ifneq)
 
 
10.10 Q: OK, I've got past those LIBGRX Makefile woes, but now when I
         compile I get all kinds of compilation errors.  Ain't this
         supposed to be production-quality software?
      A: LIBGRX was developed a long time ago.  Assuming you already have
         the latest 103m1 maintenance release of LIBGRX, those compilation
         problems are due to changes in DJGPP's libraries and header files
         since the library was compiled by its author.  It is advisable to
         add -Wall switch to all compilation commands and treat any
         warnings as potentially real problems.  If you choose to ignore
         any of the warnings, make sure you understand exactly what they
         mean.
 
The latest version of the DJGPP FAQ list is available as faq101.zip from
the same place you got DJGPP.  Or point your Web browser to this URL:

	http://www.delorie.com/djgpp/faq

- Raw text -


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