Help; RE: [lazarus] Form designer

Samuel Liddicott sam at campbellsci.co.uk
Fri Aug 13 04:18:28 EDT 1999




> -----Original Message-----
> From: Shane Miller [mailto:SMiller1 at stvgb.org]
> Sent: 12 August 1999 06:52 PM
> To: lazarus at miraclec.com
> Subject: Re: RE: RE: Help; RE: [lazarus] Form designer
>
>
> Look at the makefile in the lazarus directory.
> Line 21 should say DEFAULTFPCDIR=..
> and line 24 is
> NEEDUNITDIR etc  You have to add the path here.  Find systemh.inc
> and add that path there.

This is only for units, not for includes.  I need one that generates -Fi
not -Fu
Can we add at line 513 in Makefile.fpc this block:

ifdef NEEDINCLUDEDIR
override PPOPT+=$(addprefix -Fi,$(NEEDINCLUDEDIR))
endif

And then at line 26 of lazarus/Makefile (and similar in
lazarus/lcl/Makefile)

# Default include DIR's
NEEDINCLUDEDIR=../rtl/inc

Could someone do this to the CVS please?  Or maybe as I'm doing the form
editor I could have write access?

NOTE: I also had to add ../rtl/i386 to NEEDINCLUDEDIR which is obviously
wrong, but I can't see in Makefile.fpc how this would be done automatically?
It seems like the CVS checkout can't be built according to the howto.

I now get


Sam

>
> Shane
>
>
> >>> "Samuel Liddicott" <sam at campbellsci.co.uk> 08/12 11:54 AM >>>
>
>
> > -----Original Message-----
> > From: Shane Miller [mailto:SMiller1 at stvgb.org]
> > Sent: 12 August 1999 05:26 PM
> > To: lazarus at miraclec.com
> > Subject: Re: RE: Help; RE: [lazarus] Form designer
> >
> >
> > Add the path to systemh.inc either in  the makefile or in
> > ppc386.cfg in /etc
>
>
> I can't make head or tail of the makefile, it doesn't even have
> the compiler
> name in it, and I don't have a ppc386.cfg in /etc, the howto notes say I
> don't need one and don't specify one.
>
> Sam
>
> >
> > Shane
> >
> >
> > >>> "Samuel Liddicott" <sam at campbellsci.co.uk> 08/12 9:48 AM >>>
> > The fix to the make-lazarus script helped a bit but I am now stuck in:
> >
> > cd lazarus
> > make
> >
> > and fails with same error.
> >
> > > -----Original Message-----
> > > From: Peter Vreman [mailto:pfv at cooldown.demon.nl]
> > > Sent: 12 August 1999 12:15 PM
> > > To: lazarus at miraclec.com
> > > Subject: Re: Help; RE: [lazarus] Form designer
> > >
> > > Because the released compiler is version 0.99.12 and you need
> > to link with
> > > the ppu's which are created with 0.99.13. You need to add to your
> > > /etc/ppc386.cfg something like:
> >
> > I don't have a /etc/ppc386.cfg.  The file at
> > http://www.pcpros.net/~vbman/howto.html says I won't need one.
> >
> > > #IFDEF VER0_99_12
> > >   <old -Fu lines form ppc386.cfg>
> > > #ELSE
> > >   /opt/fpc/rtl/linux
> > >   /opt/fpc/fcl/linux
> > >   /opt/fpc/gtk
> > >   /opt/fpc/lazarus/lcl
> > > #ENDIF
> >
> > How do be sure which version I have?
> > Also I tried hacking the makefiles but there is no clue there!
> The words
> > "ppc386" are not even mentioned!
> >
> > Right now I get:
> >
> > # cd lazarus
> > # make
> > ppc386 -Tlinux   -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/units/linux
> > -Fu../fcl/lin
> > ux -
> > Fu../rtl/linux -Fu../gtk -Fulcl
> > -Fl/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.
> > 3 -F
> > l/usr/i486-linuxaout/lib -Fl/usr/lib -Fl/usr/i486-linux-libc5/lib
> > -Fl/usr/X1
> > 1R6/
> > lib -FE.  -di386 lazarus.pp
> > syslinux.pp(34,2) Fatal: Can't open include file systemh.inc
> > make: *** [lazarus] Error 1
> >
> >
> > Sam
> >
> >
> > _________________________________________________________________
> >      To unsubscribe: mail lazarus-request at miraclec.com with
> >                 "unsubscribe" as the Subject
> >     archives at http://www.miraclec.com/list_archives/lazarus
> >
> > _________________________________________________________________
> >      To unsubscribe: mail lazarus-request at miraclec.com with
> >                 "unsubscribe" as the Subject
> >     archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list