Code::Blocks Forums

User forums => Help => Topic started by: jayatk on January 31, 2006, 03:11:55 pm

Title: Adding new Compiler support
Post by: jayatk on January 31, 2006, 03:11:55 pm
Okay, I've unsuccessfully tried to add another compiler to C::B :?

I couldn't find a way to create a new compiler, so I tried to copy off another compiler.  That was a mistake, because it keeps calling the copied compiler's make.exe.  The compiler I'm using (GreenHills Multi C/C++) doesn't use a make.exe, it uses a build.exe file.  I tried to redefine $make to equal build, but that didn't work.

So, got any suggestions?  Do I have to create my own plugin for my compiler?  Also, is there a way I can make the debug command pull up my compiler's debugger?

Thanks for any help!
Title: Re: Adding new Compiler support
Post by: tiwag on January 31, 2006, 03:15:33 pm
aren't the settings in
Settings->Compiler and debugger->"your compiler"->Programs->Program Files
tab not enough ???
Title: Re: Adding new Compiler support
Post by: jayatk on January 31, 2006, 04:03:24 pm
aren't the settings in
Settings->Compiler and debugger->"your compiler"->Programs->Program Files
tab not enough ???


 I found what I missed.  Somehow I missed the "make" part, I had changed everything else.  User Error. I need more sleep I think.

Thanks.
Title: Re: Adding new Compiler support
Post by: heilpern on February 01, 2006, 05:03:52 am
But... where is ranlib configured?
Title: Re: Adding new Compiler support
Post by: tiwag on February 01, 2006, 07:52:50 am
But... where is ranlib configured?

Settings->Compiler and debugger->"your compiler"->Other->Advanced Options->Commands->"Link object files to static library":(Commandline macro)

;-)
Title: Re: Adding new Compiler support
Post by: Andrey on March 30, 2006, 11:27:32 pm
Hi,
I want to make a support for TASM maybe you think it's an old asm compiler but we are using it for practice purposes on Technical University of Lodz. I thought I could show C::B to my friends, they're are very angry that there's no good ide for TASM and I thought I could prepare C::B.
I read the article about G77 Fortran Compiler but I want to make different compiler options like those in gcc and VC++, TASM has different options as you can imagine. What files I should edit to make it all wor without?

Title: Re: Adding new Compiler support
Post by: thomas on March 30, 2006, 11:51:19 pm
If you want to make something that is substantially different, then you will have to modify/rewrite the compilergcc plugin (look inside src/plugins/compilergcc), but that will be a nightmare to implement.

I would suggest you wait until Ephialtes is out instead. :)
Title: Re: Adding new Compiler support
Post by: Pecan on March 31, 2006, 12:11:35 am
I would suggest you wait until Ephialtes is out instead. :)

It must gonna be a long wait. After 10 pages of google the
closest I could come to Ephialtes is

Quote
Ephialtes, one of the giants who revolted against Zeus and threatened to storm heaven; he appears to have been maimed by Apollo and Hercules. ...
Title: Re: Adding new Compiler support
Post by: TDragon on March 31, 2006, 12:16:47 am
Interestingly, the wiki page http://wiki.codeblocks.org/index.php?title=Roadmap_for_version_1.0 is not linked to from any of the normal pages; one would only find it in one of the special wiki pages.

See also http://messagenet.com/myths/ppt/_e1002.html.  :D
Title: Re: Adding new Compiler support
Post by: thomas on March 31, 2006, 01:07:36 am
It must gonna be a long wait.
Hopefully not...

Quote
Ephialtes, one of the giants who revolted against Zeus and threatened to storm heaven; he appears to have been maimed by Apollo and Hercules. ...
The name refers to the historical person, not the mythological one :)
Title: Re: Adding new Compiler support
Post by: sethjackson on March 31, 2006, 02:14:49 am
It must gonna be a long wait.
Hopefully not...

Quote
Ephialtes, one of the giants who revolted against Zeus and threatened to storm heaven; he appears to have been maimed by Apollo and Hercules. ...
The name refers to the historical person, not the mythological one :)

Interesting. Mind enlightining us on who he was? Or maybe this is it.

http://en.wikipedia.org/wiki/Ephialtes
Title: Re: Adding new Compiler support
Post by: squizzz on March 31, 2006, 02:46:13 am
These codenames are not random persons. :lol:


Laius (C::B RC 1) killed by his son Oedipus (C::B RC 1-1).

Then Leonidas (RC2) betrayed by Ephialtes (RC3) (Battle of Thermopylae), who was later killed by Athenades (RC final)

Pheidippides (1.0) - Athenian herald who ran 42 km from Marathon to Athens to announce Greek victory. :D