[fpc-devel]sysos2.pas recompiling result

Jonas Maebe jonas at zeus.rug.ac.be
Sat Sep 23 12:50:36 CEST 2000


On Sat, 23 Sep 2000, Jonas Maebe wrote:

> 
> 
> On Sat, 23 Sep 2000, Jonas Maebe wrote:
> 
> > > Back in sysos2.pas
> > > Writing .\sysos2.ppo
> > > Assembling sysos2
> > > Closing script .\ppas.cmd
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> This shows what the problem is: for some reason, the assembler isn't
> called (although the compiler doesn't show an error, while it should). I
> just tried for the first time the OS/2 version at home (because the HD
> where my Windows was on died recently) and I got exactly the same problem.
> You can currently work around it by adding "-a -s" to you OPT string
> (then the ppas.cmd file is called by the compiler).

And another follow-up: there's also a bug in the makefile, which causes
this not to work correctly. Search in "makefile" for the line

$(SYSTEMPPU) : sysos2.pas $(SYSDEPS)

and add below the $(COMPILER) line under it the following:

	$(EXECPPAS)

Do the same for objpas$(PPUEXT) (it's the next unit that has to be
compiled).

Note that you have to ad a <TAB> before the $(EXECPPAS) statement (and
that you have to use an editor which preserves <TABS> when editing a
file).


Jonas





More information about the fpc-devel mailing list