Pelles C > Add-ins

Add-In SelCompiler

(1/3) > >>

TimoVJL:
Deprecated
Change compiler setting CC AS LINK RC INCLUDE LIB and ASFLAGS CCFLAGS LINKFLAGS RCFLAGS from SelCompiler.ini settings.
You can change like AS from poasm.exe to JWAsm.exe and back.
Every settings block must have Title that comes to button.

SelCompiler-1.2

Usage:

Copy SelCompiler.dll to PellesC AddIns (AddIns64) folder.
Restart PellesC.
From menu Tools -> Customize... select Add-ins tab.
Check Select compiler from list.
Close dialog with button OK.
New button SEL CC should appear to toolbar.

Press button SEL CC from toolbar with tooltip text Select Compiler
To add new entry:
 - press Options ...
 - Fill Title: field for new button / entry name
 - Fill fields and flags you need
 - Press button New

EDIT 20100805: Added setup dialog and some bug fixes.
EDIT 20100806: Added flags and changed format. (SelCompiler_WS-8.zip)
                      Bug fix CCFLAGS
EDIT 20100807: Added button for new option (SelCompiler_WS-9.zip).
                      Now it's possible create options from setup dialog if you have writing rights to AddIns folder.

EDIT 20100809: Cleaned version uses different ini-file format. (SelCompiler.zip)

EDIT 20110901: This version have delete/copy options and use title as section name. (SelCompilerWS-1.3)
EDIT 20110903: Fix for set options.
EDIT 20110910: Browse file and folder buttons. (SelCompiler-1.2.2.zip)
                       New button saves modified fields.

New:

--- Code: ---[JWAsm]
Title=JWAsm
AS=c:\code\jahpeth\JWAsm.exe
ASF=-coff -Zi

--- End code ---

options:
CC CCF AS ASF LINK LINKF RC RCF INCLUDE LIB

blzbb:
thank you for you useful add-in  :D
it would be greate if you add support of other option like ASFLAGS in the future
becuase for using assembler like jwasm we have to manually add some parameter to ASFLAGS
jwasm use omf object by default that have conflict with pelesC default object i mean coff

BlZbB

blzbb:
thank you timovjl

BlZbB

TimoVJL:
SelCompiler-1.2.1

Usage:

Copy SelCompiler.dll to PellesC AddIns (AddIns64) folder.
Restart PellesC.
From menu Tools -> Customize... select Add-ins tab.
Check Select compiler from list.
Close dialog with button OK.
New button SEL CC should appear to toolbar.

Press button SEL CC from toolbar with tooltip text Select Compiler
To add new entry:
 - press Options ...
 - Fill Title: field for new button / entry name
 - Fill fields and flags you need
 - Press button New

EDIT: New button saves modified fields only.

TimoVJL:
SelCompiler-1.2.3 for PellesC v 6.50

This version use AddIn_SetProjectShells macro to change ppj-file commandline macro.
For example with bcc32/TurboC++ use:
$(CC) $(CCFLAGS) -o"$@" "$!" instead of $(CC) $(CCFLAGS) "$!" -Fo"$@"
$(LINK) $(LINKFLAGS) $** ,"$@" instead of $(LINK) $(LINKFLAGS) -out:"$@" $**

MS rc.exe need this: $(RC) $(RCFLAGS) -Fo"$@" "$!"


EDIT 20120311: Fix missing additional \0 in parameter for AddIn_SetProjectShells() macro

Navigation

[0] Message Index

[#] Next page

Go to full version