www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/18/17:47:56

Via: uk.ac.edinburgh.festival; Fri, 18 Nov 1994 13:59:36 +0000
From: williamc AT aifh DOT edinburgh DOT ac DOT uk
Date: Fri, 18 Nov 94 13:59:10 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: cbgrx103 won't compile

cbgrx103 won't compile on my system (dj 1.12, gcc 2.6.0, gnu make
3.71) for three reasons:

  - the `makefile.gcc's include directives which look like

      !if !$d(MODEL)
      MODEL = l
      !endif

    and so on.  Is this written for the Borland make or something?
    (The equivalent with Gnu make would be ifdef/endif.)

  - gas barfs on the /* comments */ in some of the assembler code.
    I think the rule

      .s.o:
              gcc -c $*.s

    needs changing to

      .s.o:
              gcc -x assembler-with-cpp -c $*.s

  - In the rule

      $(GCCLIB): $(GCCOBJ)
	      -del $(GCCLIB)
	      ar rvs $(GCCLIB) @&&!
	      $(GCCOBJ)
	      $(GEVENT)
      !

    the @&&! is obviously supposed to mean something like <<! but goes
    gets passed straight through to `ar'---is this a Borland thing?

Any suggestions?  (I haven't been able to try out the obvious fixes
because my PC is on the blink ...)

--
William Chesters (williamc AT aifh DOT ed DOT ac DOT uk)
Computer vision?  I'll believe that when it sees me.

- Raw text -


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