Author Topic: Adding new Compiler support  (Read 6690 times)

Offline jayatk

  • Multiple posting newcomer
  • *
  • Posts: 40
Adding new Compiler support
« 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!

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Adding new Compiler support
« Reply #1 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 ???

Offline jayatk

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Adding new Compiler support
« Reply #2 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.

Offline heilpern

  • Single posting newcomer
  • *
  • Posts: 7
Re: Adding new Compiler support
« Reply #3 on: February 01, 2006, 05:03:52 am »
But... where is ranlib configured?

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Adding new Compiler support
« Reply #4 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)

;-)

Andrey

  • Guest
Re: Adding new Compiler support
« Reply #5 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?


Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Adding new Compiler support
« Reply #6 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. :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2165
Re: Adding new Compiler support
« Reply #7 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. ...
« Last Edit: March 31, 2006, 12:14:01 am by Pecan »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: Adding new Compiler support
« Reply #8 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
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Adding new Compiler support
« Reply #9 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 :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

  • Guest
Re: Adding new Compiler support
« Reply #10 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

Offline squizzz

  • Almost regular
  • **
  • Posts: 132
Re: Adding new Compiler support
« Reply #11 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




« Last Edit: March 31, 2006, 02:51:16 am by squizzz »
this space is for rent