[fpc-pascal] FPC IDE on Windows: Configuring colours

2008-09-25 Thread Frank Peelo

Hi

If this is the wrong list for asking about the IDE, I would be glad if 
you could point me at the right list.


I use FreePascal for occasional programming. However, lately I find the 
colours in the IDE difficult to read - especially integer constants 
which appear dark blue-grey on a dark blue background. Maybe it's 
because I'm using an LCD. Yes, that must be it. (Getting old? me? :-> )


The user guide says there should be an option under Options|Environment 
to change colours, like the one in BP7. But there is no such option on 
my setup here.


My questions are:

  How do I change the IDE colours? Is there some configuration I need to
  change to enable the dialogue?



I am using Windows XP. The version (from Help|About) is:

FreePascal IDE for Win32 for i386
 Target CPU: i386
Version 1.0.10 2008/08/03
 (Compiler Version 2.2.2)
   (Debugger GDB 6.2.1)

which I think should be the latest version of everything. I downloaded 
and installed FPC and the IDE (fpc-2.2.2.i386-win32.exe) yesterday, 
thinking the Colours option must have been added more recently than the 
version I was using before that. I do not recall what version I had 
installed before yesterday; I uninstalled it before installing the 
latest version, and I did not keep a copy of the installation file.


Thanks

Frank

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC IDE on Windows: Configuring colours

2008-09-25 Thread Marco van de Voort
In our previous episode, Frank Peelo said:
> 
> My questions are:
> 
>How do I change the IDE colours? Is there some configuration I need to
>change to enable the dialogue?

Afaik the trouble is that the colorselection widget was not available in the
"Free Vision" (based on free code), while in the pre 2000 (Turbo Vision) it
was available. The IDE still has support for it, albeit under (disabled)
ifdef.

So what is needed is a colorsel unit. Maybe if you are really able, you
could try to use/port TP's unit, but better would be to start making an own.

The IDE is currently only maintained, and new development hasn't happened in
several years. There are currently 70 mantis (bugtracker) tickets open for
the IDE. (though many are not real bugs but "features").

Some help from interested individuals would be very welcome. 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC IDE on Windows: Configuring colours

2008-09-25 Thread Frank Peelo

Marco van de Voort wrote:

In our previous episode, Frank Peelo said:


My questions are:

  How do I change the IDE colours? Is there some configuration I need to
  change to enable the dialogue?


Hi Marco, hope you're keeping well!


Afaik the trouble is that the colorselection widget was not available in the
"Free Vision" (based on free code), while in the pre 2000 (Turbo Vision) it
was available. The IDE still has support for it, albeit under (disabled)
ifdef.


Ah. So it's the user guide that is not up to date. I had seen a message 
that the widget was not free, but thought the problem had been solved 
since when I saw it in the current user guide.


Fair enough.


So what is needed is a colorsel unit. Maybe if you are really able, you
could try to use/port TP's unit, but better would be to start making an own.


Once upon a time I thought I had a clue about Pascal. Today I had to 
look up the syntax of the Case statement... and I don't even get to 
watch Television these days, never mind Turbovision! So I'll have to 
pass on that, sorry.


Frank


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Debugging a darwin cross-compiler

2008-09-25 Thread Brad Campbell

Brad Campbell wrote:

G'day all,

Still on the trail of the serial unit issue. Think I have it working 
(it's working perfectly on OSX PPC and all my variants of Linux) but I 
can't seem to generate valid OSX Intel binaries.


I've got a working cross compile setup where I can generate fully 
functional linux/win32/OSX-PPC binaries and they all work beautifully, 
but while all the open darwin tools tell me my OSX-Intel binaries are 
ok, when I actually put them on an Intel Mac and try to run them all I 
get is :


-bash: ./hello: cannot execute binary file



Just a headsup. This looks like a linker problem. I managed to hack up a linker that works from an 
iPhone SDK toolkit I found floating around and I can now cross-compile OSX i386 binaries from my 
Linux box.


Many many thanks for the pointers!

Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal