Using other compilers....
holle at almaden.ibm.com
holle at almaden.ibm.com
Mon Oct 18 18:43:47 BST 1999
Easy, as long as you use gcc as a cross-compiler:
The gcc frontend selects its mid- and back-ends with the -V <version> and -b
<architechture> switches.
Set up the cross gcc and make sure that you do not overwrite /usr/bin/gcc
/usr/bin/g++ (make backups first).
I.e. gcc should still compile for your machine without switches but if you do
e.g. gcc -V 2.8.1 -b m68k-unknown-coff
you would have the "normal" front-end select the backend for a m68k coff system
and use the compiler version 2.8.1 . Now go to kdevelop's men ubar, select
project->options(F7)->compiler options and add the -V and -b switches with the
according parameters in the field at the bottom, called "additional parameters".
If you are not sure what version / architechture identifiers you should use, go
to /usr/lib/gcc-lib and check out the subdirectories there as well as their
subdirs:
/usr/lib/gcc-lib/<architecture identifier>/<version identifier>
You may have installed a version in /usr/local/lib/gcc-lib -- the structure is
the same.
- holger
ian reinhart geiser <geiseri at msoe.edu> on 17/10/99 09:43:36
Please respond to kdevelop at barney.cs.uni-potsdam.de
To: kdevelop at barney.cs.uni-potsdam.de
cc:
Subject: Using other compilers....
I do alot of cross development.
how could I set KDevelop to use a different compiler?
-ian reinhart geiser
.-----------------------------------------------------------.
|[] NeXT Generation [X]|
|--------------------------,--------------------------------.
| UNIX GEEK, | Office: I have none... |
| Macintosh Specialist @ | Phone: 414.277.7288 |
| Milwaukee School of | |
| Engineering |--------------------------------|
| | |
| ian reinhart geiser | phone: 414.220.9683 |
| Apt #5 | email: geiseri at msoe.edu |
| 828 N Milwaukee St | web: www.msoe.edu/~geiseri |
| Milwaukee, WI 53202 | NeXT/Be/Cyberdog Mail okay! |
| | MIME or BinHex preferred |
|--------------------------'--------------------------------|
'-----------------------------------------------------------'
More information about the KDevelop
mailing list