NO

Author Topic: Where can I find .......?  (Read 4141 times)

Eldon

  • Guest
Where can I find .......?
« on: March 18, 2015, 08:06:31 PM »
(1) Where can I find instructions to run the command line compiler?

(2)  Is there some way I can change the display on the IDE.  The
     text is too small for me and the colors make it hard to read, like
     who made the choice to put  light blue background and land light
     green text on the screen,  only thing harder to read would be
     both the same color.

(3)  Are there any instructions for the IDE use?  Like how to change
      colors,  text size,  and how to enter command line strings
      on execution,   like if I wanted to run the program with
      this sort of command:

                        program.exe   <input_stuff   >output_stuff
                   

(4)  Why I can compile my program in the IDE,  but I get
      errors if I compile it with command line   cc  program?  This
      goes back to question (1).

« Last Edit: March 18, 2015, 08:10:01 PM by Eldon »

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Where can I find .......?
« Reply #1 on: March 19, 2015, 04:10:27 AM »
(1) Where can I find instructions to run the command line compiler?
I leave this to someone else, the main reason why I chose to use Pelle's C is that I can use an IDE and do NOT have to use the command line compiler... ;)
Quote
(2)  Is there some way I can change the display on the IDE.  The
     text is too small for me and the colors make it hard to read, like
     who made the choice to put  light blue background and land light
     green text on the screen,  only thing harder to read would be
     both the same color.
Tools->Options->Source
Quote
(3)  Are there any instructions for the IDE use?  Like how to change
      colors,  text size,
See above...
Quote
and how to enter command line strings
      on execution
Projects->Options->General
Quote
(4)  Why I can compile my program in the IDE,  but I get
      errors if I compile it with command line   cc  program?  This
      goes back to question (1).
Impossible to tell without you telling us the error messages you get. My best WAG is that you don't have paths and/or options not properly set.
See my reply to question (1)

Ralf
« Last Edit: March 22, 2015, 05:48:25 AM by Bitbeisser »

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: Where can I find .......?
« Reply #2 on: March 19, 2015, 09:47:24 AM »
To get environment ready for compiling you have to issue one of the commands povars32 (for 32bits compiling) or povars64 (for 64bits environment). These 2 batch files will setup environment so you can use commandline.
For help start the IDE on the help menu you'll find a complete system help. This is also for questions 1 & 2, almost everything is configurabe in the IDE: colors Text size, etc. For Text size try simply pressing control and rotating mouse wheel while cursor is on an edit window  ;)
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Eldon

  • Guest
Re: Where can I find .......?
« Reply #3 on: March 22, 2015, 09:55:24 PM »
Thanks for the help,  I will give these things a try and get
back to you with how it worked out.  I am making some
progress on the IDE,  but I really don't care much for them.
The reason, is that with any windows type machine, today,
you can have an IDE just by opening several dos windows,
In one you can edit, and save changes,  switch to other
dos window and run program,  etc.  In effect you have an
IDE just by using several dos windows,  and this also
allows you to use your favorite editor, while doing it.

Anyway,  I am getting somewhat use to the IDE and
will try some of your tips.  Again, thanks.


Eldon

  • Guest
Re: Where can I find .......?
« Reply #4 on: March 22, 2015, 10:51:45 PM »
My command line still does not work.
I ran the bat file to set the environment.

Here is contents of povars64.bat

@echo off
set PellesCDir=c:\pelles
rem
echo Setting 64-bit environment for Pelles C...
rem
set PATH=%PellesCDir%\Bin;%PATH%
set INCLUDE=%PellesCDir%\Include;%PellesCDir%\Include\Win;%INCLUDE%
set LIB=%PellesCDir%\Lib;%PellesCDir%\Lib\Win64;%LIB%


when I try to compile  with command:

cc   rtot.c

I get a bunch of errors like:

POLINK:  error Unresolved external symbol '__imp__.....
37 of these above.             \

appears to be a linking problem,  because  rtot.obj is built.


Yet I can compile it in the IDE.