Mail Archives: djgpp/1994/11/18/17:47:56
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 -