From jan@swi.psy.uva.nl Tue Jan 29 10:02:45 2002
Received: from there (jan@gollem.swi.psy.uva.nl [145.18.152.30])
	by swi.psy.uva.nl (8.11.6/8.11.2) with SMTP id g0T92jL15017;
	Tue, 29 Jan 2002 10:02:45 +0100 (MET)
Message-Id: <200201290902.g0T92jL15017@swi.psy.uva.nl>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: alsingh@hss.hns.com, xpce-users@swi.psy.uva.nl
Subject: Re: xpce
Date: Tue, 29 Jan 2002 10:02:44 +0100
X-Mailer: KMail [version 1.3.2]
Cc: prolog@swi.psy.uva.nl
References: <65256B50.00254F0E.00@sandesh.hss.hns.com>
In-Reply-To: <65256B50.00254F0E.00@sandesh.hss.hns.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

On Tuesday 29 January 2002 07:49, alsingh@hss.hns.com wrote:

> To include my libraries also, I linked my library libalok.so with other
> libraries but executable built is behaving differently.
>
> When I run xpce it start with following messages:
> =========================================
> XPCE Development system (5.1.10, December 2001 for sparc-solaris2.7 and
> X11R6) Copyright 1993-2001, University of Amsterdam.
> Copying: GPL-2 (see file COPYING or www.gnu.org)
> The host-language is SWI-Prolog version 4.0.11
>
> For HELP on prolog, please type help. or apropos(topic).
>          on xpce, please type manpce.
>
> 1 ?-
>
> When I run myexe it start with following messages:
> ==========================================
> Welcome to SWI-Prolog (Version 4.0.11)
> Copyright (c) 1990-2000 University of Amsterdam.
> Copy policy: GPL-2 (see www.gnu.org)
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
> 1 ?-
>
> Why is the difference when procedure is the same? I added my library only.
> It seems to me that XPCE kernal is missed out in my case but why?
> Please help me.

The trick is explained with `system initialisation files'; the things
you may specify using the -F flag.  Have a look at

http://www.swi.psy.uva.nl/projects/SWI-Prolog/Manual/cmdline.html

on the -F option.

	Cheers --- Jan

