Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-11

OS_TARGET in FCL makefile

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Payne Thomas E CNIN

Whenever doing a make in FCL, I get go32v2 instead of linux? This changed yesterday.

cd fcl
fcl]# make
make -C linux all
make[1]: Entering directory `/opt/fpc/fcl/linux'
ppc386 -Tgo32v2 -S2 -Fu../rtl/go32v2 -Fu../units/go32v2 -Fi../inc -FE. -d ../inc/inifiles.pp
Fatal: Can't find unit SYSTEM
make[1]: *** [inifiles.ppu] Error 1
make[1]: Leaving directory `/opt/fpc/fcl/linux'
make: *** [all] Error 2
fcl]#

Tom

Reply by email

Peter Vreman
to Payne Thomas E CNIN
Show quoted text 14 lines
> When looking at CVS the history ( > http://cvs.freepascal.org/cgi-bin/cvsweb/fpc ) > It seems that we need > > fpc/fcl/linux/Makefile.fpc 1.1 > -defaulttarget=linux > +defaulttarget=go32v2 > > fpc/fcl/linux/Makefile 1.14: > -override OS_TARGET:=linux > +override OS_TARGET:=go32v2 Agreed, this is the problem I just thought that maybe MVC would want to figure out how the linux files got replaced with go32v2 files. :-\

I'll fix it. I guess i commited the wrong file :(

There is now a Makefile.fpc which will create the Makefile for you, so you only need to update Makefile.fpc and then run fpcmake to get a nice Makefile. I'll update the Lazarus Makefiles soon. Both Makefile.fpc and Makefile will be commited to the CVS so ppl don't need fpcmake to test it Lazarus.

Peter

Reply by email

Marc Weustink
to Payne Thomas E CNIN: Whenever doing a make in FCL, I get go32v2 instead of linux? This changed yesterday. cd…
you wrote 11 lines
Payne Thomas E CNIN wrote: > > Whenever doing a make in FCL, I get go32v2 instead of linux? This > changed yesterday. I just did a checkout today and found the same problem. It appears that the go32v2 makefile and makefile.fpc from the go32v2 directory have been copied into the linux directory and we have lost the linux versions of these files. Michael C. and you or somebody please fix CVS with the correct files?

When looking at CVS the history (
http://cvs.freepascal.org/cgi-bin/cvsweb/fpc )
It seems that we need

fpc/fcl/linux/Makefile.fpc 1.1
-defaulttarget=linux
+defaulttarget=go32v2

fpc/fcl/linux/Makefile 1.14:
-override OS_TARGET:=linux
+override OS_TARGET:=go32v2

Marc

Reply by email

Michael A. Hess
to Payne Thomas E CNIN: Whenever doing a make in FCL, I get go32v2 instead of linux? This changed yesterday. cd…
Marc Weustink wrote 12 lines
When looking at CVS the history ( http://cvs.freepascal.org/cgi-bin/cvsweb/fpc ) It seems that we need fpc/fcl/linux/Makefile.fpc 1.1 -defaulttarget=linux +defaulttarget=go32v2 fpc/fcl/linux/Makefile 1.14: -override OS_TARGET:=linux +override OS_TARGET:=go32v2

Agreed, this is the problem I just thought that maybe MVC would want to figure out how the linux files got replaced with go32v2 files. :-\

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Payne Thomas E CNIN: Whenever doing a make in FCL, I get go32v2 instead of linux? This changed yesterday. cd…
Payne Thomas E CNIN wrote
Whenever doing a make in FCL, I get go32v2 instead of linux? This changed yesterday.

I just did a checkout today and found the same problem. It appears that the go32v2 makefile and makefile.fpc from the go32v2 directory have been copied into the linux directory and we have lost the linux versions of these files. Michael C. and you or somebody please fix CVS with the correct files?

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email