KDevelop and host-type

Ralf Nolden nolden at kde.org
Thu Aug 23 15:15:02 BST 2001


On Donnerstag, 23. August 2001 15:29, you wrote:
> > No. The end-user compiling your project is supposed to export the
>
> CXXFLAGS
>
> > according to his needs, in this case -mpentiumpro I think.
> >
> > Ralf
>
> OK ...but, where did the end-user do this ??? At ./configure or is this
> an environment-variable ?
Environment variable. That's how we say in kdevelop to enable debugging or 
generally set compiler options; you just don't see them directly but in 
compiling after configure ran. So basically, you do 

export CC, CXX, CXXFLAGS, CFLAGS. These are the environment variables for the 
c and c++ compiler and the according flags. You also need to do this for e.g. 
cross-compiling; then you need to set CC and CXX to (e.g. on StrongARM) 
arm-linux-g++ resp. arm-linux-gcc.

Ralf
-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment	The KDevelop Project
http://www.kde.org		http://www.kdevelop.org


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list