From owner-freebsd-hackers Mon Feb 2 00:47:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA26028 for hackers-outgoing; Mon, 2 Feb 1998 00:47:42 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA25917 for ; Mon, 2 Feb 1998 00:46:37 -0800 (PST) (envelope-from didier@omnix.net) Received: from localhost (localhost [127.0.0.1]) by omnix.net (8.8.7/8.8.7) with SMTP id IAA13288; Mon, 2 Feb 1998 08:45:04 GMT (envelope-from didier@omnix.net) Date: Mon, 2 Feb 1998 09:45:04 +0100 (CET) From: Didier Derny To: Alex cc: Ruslan Shevchenko , hackers@FreeBSD.ORG Subject: Re: egcs and Qt? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" On Sun, 1 Feb 1998, Alex wrote: I've been able to port qt-1.32 (directly take from the www.troll.no web site) without any problem. the only things was: install the qt distribution in /usr/local/qt set the variables according to the INSTALL file I'm not sure but it seems that it needs the following environment variable to be defined QTDIR=/usr/local/qt CPLUS_INCLUDE_PATH=/usr/local/qt/include LD_LIBARY_PATH=/usr/local/qt/lib LIBRARY_PATH=/usr/local/qt/lib export QTDIR CPLUS_INCLUDE_PATH LD_LIBRARY_PATH LIBRARY_PATH cd /usr/local/qt make freebsd-shared in /etc/rc add a line to load the shared library at boot time for example, copy the /usr/local/lib line and replace qt were it's needed. (reboot or execut ldconfig with the right paths) use gmake instead of make You should be able to build qt without any problems. [after I rebuilt kde without any real problems] I've never tried with egcs > > On Sun, 1 Feb 1998, Ruslan Shevchenko wrote: > > > Alex wrote: > > > > > Has anyone had luck making the Qt port? I've tried the latest libg++ > > > (2.8.0 snapshots) in both static and shared form, to no avail. I was able > > > to get the Qt port to compile, but linking against the generated library > > > produced many many errors. However creating programs with egcs (or any > > > gcc) linked against the libraries created FreeBSD's gcc (2.7) seem to work > > > fine. Has anyone had better results with an a.out system? Any > > > suggestions? > > > > Linux fun's probabily solve this problem ;)(look at attachment) > > Hmm. Nice to see the warnings gone, but I'm still getting as warnings > (relocation burb for some symbol), and then getting undefined errors for > the same symbol when running programs linked against that library. > Compiling without -fno-implicit-templates will crap out with many many > multiply defined symbols. Too bad, cause I kinda liked the smaller > executables (-fno-exceptions -fno-rtti) too. > > Linux: The Microsoft Windows(tm) of the Unix(tm) world. > > - alex > > -- Didier Derny didier@omnix.net