NO

Author Topic: Simple WizPrj project wizard  (Read 3666 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Simple WizPrj project wizard
« on: March 11, 2010, 10:24:11 PM »
Simple WizPrj project wizard for other compilers.

Settings are in WizPrj.ini in folder PellesC\Wizards.

Code: [Select]
#WizPrj.ini
[Path]
#CC=C:\code\TinyCC\bin\tcc.exe
CC=C:\code\msvc9\bin\cl.exe
CCFLAGS=-c
#LINK=C:\code\TinyCC\\tcc.exe
LINK=C:\code\msvc9\bin\link.exe
LINKFLAGS=
INCLUDE=C:\code\msvc9\include
LIB=C:\code\msvc9\lib
Just makes those changes from INI-file.
PPJ-file may still need some modifications.

Some patch against TinyC 2010-01-14 for that Wizprj:

With this change tcc.exe don't complain that option.
Code: [Select]
--- C:\code\tinycc-20100114\tcc.c Thu Jan 14 21:00:04 2010
+++ C:\code\PellesC\TinyCC\tinycc-test\tcc.c Fri Mar 12 21:44:58 2010
@@ -154,6 +154,9 @@
     { "pipe", TCC_OPTION_pipe, 0},
     { "E", TCC_OPTION_E, 0},
     { "x", TCC_OPTION_x, TCC_OPTION_HAS_ARG },
+#ifdef MSVC_COMP
+    { "Fo", TCC_OPTION_o, TCC_OPTION_HAS_ARG },
+#endif
     { NULL },
 };
With this change double-clicking works in poide to show error/warning line in editor
Code: [Select]
--- C:\code\tinycc-20100114\libtcc.c Thu Jan 14 21:00:04 2010
+++ C:\code\PellesC\TinyCC\tinycc-test\libtcc.c Thu Mar 11 18:40:30 2010
@@ -534,7 +534,8 @@
                           (*f)->filename, (*f)->line_num);
         if (file->line_num > 0) {
             strcat_printf(buf, sizeof(buf),
-                          "%s:%d: ", file->filename, file->line_num);
+//                          "%s:%d: ", file->filename, file->line_num);
+                          "%s(%d): ", file->filename, file->line_num);
         } else {
             strcat_printf(buf, sizeof(buf),
                           "%s: ", file->filename);
« Last Edit: March 12, 2010, 09:06:15 PM by timovjl »
May the source be with you