[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How do set environment variables prior to running kdevelop



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have made kde debs for my system at 3.1-rcx level using the gcc-3.2 
compiler. This includes kdevelop (as gideon).

Therefore any apps which will ultimately link to qt or kdelibs will also need 
to be built with this compiler otherwise they will fail.

I have just made a dummy app using gideon - but the configure stage fails 
because it in order to check it can find the right version of the qt libs it 
compilers a small app.  I am pretty sure that because it is using the 2.95 
version of gcc that this small app fails causing the configure script to fail 
(saying it cant find the correct version of qt). libqt3-mt-dev is installed.

I assume I somehow want to have gideon use the gcc-3.2 compiler.  I assume 
that I need to export CC=gcc-3.2 or something.  How do I create the 
environment variables for gideon which is started from the kde menu. 
(startkde is run from within the Xsession script of kdm).

I tried putting a shell script in ~/.kde/Autostart/ to export this variable 
but all Autostart did was open the script in kwrite:-(

Help
- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE98pA9uFHxcV2FFoIRAmGPAJoD54qRBtw/1mNG8l58j8FoFBOHFACeMyyK
hM/nXgO7RN8IjF3QluwNdyE=
=P+sH
-----END PGP SIGNATURE-----



Reply to: