On Tue, 15 Aug 2006, Michael Van Canneyt wrote:
Could you be more clear ? I don't understand the question?
What is the relation with gcc ?
Michael.
AFAIK gcc can compile code for some models microcontrollers(cpus for
embeded devices).
I am not specialist in this area but know people who write
Hello list,
I found this and it may be interesting to some of you:
http://jal.sourceforge.net/
A Pascal like compiler for microcontrollers.
It is a good thing to have in FPC like there is in gcc.
What do you think?
___
fpc-devel maillist - fpc-devel
Hello list,
full logs from the arm-linux testing are available at:
http://technobin.itafree.com/fpc/fpc_2.0.4_rc2_arm-linux_test.tar.bz2
All binary files are deleted, only plain text left.
Hope this will help FPC development.
Greetings to all.
___
fpc-
Hello,
thanks to all that helped me execute the tests.
These are the 3 digest files produced from testing
FPC 2.0.4 rc2 for arm-linux, using 2.0.4 rc3 tests.
Tested on x86(compile OK, all runs fail of course), qemu-arm, real arm device.
Will provide the full logs from the test if necessary.
dige
Here is the digest from the test:
The FPC being tested is ppcarm 2.0.4 rc2 from the ftp site. The test
suite is the 2.0.4 rc3 from svn.
Using qemu-arm emulator
`make TEST_FPC=/usr/local/lib/fpc/2.0.4/ppcarm TEST_OPT=-XParm-linux-
EMULATOR=qemu-arm clean all digest`
---
On 8/9/06, Jonas Maebe <[EMAIL PROTECTED]> wrote:
TEST_OPT="..."
Thanks again. I saw the options in the readme file.
After running:
make TEST_FPC=/usr/local/lib/fpc/2.0.4/ppcarm TEST_OPT=-XParm-linux-
clean all digest
in the fpc/tests directory it starts compiling for a while and then
error oc
On 8/9/06, Florian Klaempfl <[EMAIL PROTECTED]> wrote:
No, TEST_FPC=/.../ must be appended because the test suite distinguishes between
the compiler used to build the test tools like digest and the compiler actually
being tested.
Thanks, I should have tried this.
Another question: How do I pass
I downloaded the 2.0.4_rc3 source from svn and successfully build the
cros compiler.
According to wiki
(http://www.freepascal.org/wiki/index.php/How_to_start#Building_the_compiler)
this command have to build all tests and create a digest output, but it fails.
[EMAIL PROTECTED]:~/repos/fpc_2.0.4_r
We do not have a system that is powerfull enough (enough memory) to build
one. You need 64mb at minimum to build the compiler and even that will be
tight.
Is it possible to be done with less amount of memory and large swap space?
By the way, I haven't received test reports about the 2.0.4rc c
Hello list,
I am wondering why there isn't native compiler/ide fro ARM but just
cross-compiler?
What is the problem for missing that? Any readings about compiler
internals and different targets are more that welcome!
Thanks.
___
fpc-devel maillist - f
Hello,
is it possible to include the following information in the next
releases changelog:
1) closed / fixed issues in mantis - issue number
2) the short description from mantis ?
This way it will be very easy to see what has been fixed and what not.
__
Hello,
I have troubles with compiling array with char index that uses
cyrillic characters.
Please see issue: #7122 for details.
http://www.freepascal.org/mantis/view.php?id=7122
Any ideas or workarounds are more than welcome.
Thanks.
___
fpc-devel maill
On 6/1/06, Alexander Todorov <[EMAIL PROTECTED]> wrote:
Hello,
I am sending you a sample which is not working as expected.
The sample contains 2 FPC projects compiled with Lazarus. They are
demonstrating a program that starts, goes in daemon mode, and creates
two threads that will do the
Hello,
I am sending you a sample which is not working as expected.
The sample contains 2 FPC projects compiled with Lazarus. They are
demonstrating a program that starts, goes in daemon mode, and creates
two threads that will do their job, as well as the demonized program
will do some job as well.
On 5/15/06, Пётр Косаревский <[EMAIL PROTECTED]> wrote:
begin
writeln(sizeof(a)); // 12 ok!
writeln(sizeof(b)); // 16???
writeln(sizeof(c)); // 14 ok!
writeln(sizeof(d)); // 16???
writeln(sizeof(e)); // 12 ok!
end.
// I don't know the numbers on other platforms/systems
Linux, i386, FPC
Hello,
procedure TList.Assign(ListA: TList; AOperator: TListAssignOp; ListB: TList);
exists in Delphi that allows you to assign to a TList object the
result of the operation
'ListA AOperator ListB'. This can be : copy, and, xor for example.
The attached file contains and implementation of th
Hello,
Let's consider the following code fragment:
--
type
TMyRecord = record
Name : String;
Value : Integer;
end;
TMyClass = class(TObject)
private
FButton : TButton;
FRecord : TMyRecord;
public
property RecordName : Strin
Hello,
recently I have reported this issue on the FPC site and there were
some e-mails about SQLDb not working with PostgreSQL.
http://www.freepascal.org/bugs/showrec.php3?ID=5093
The work around for TPQConnection is:
Do NOT use FTransaction.Commit but USE FTransaction.CommitRetaining instead.
It
On 5/9/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
I heard that the gtk1 libs under FreeBSD are libglib-12.so, libgdk-12.so and
libgtk-12.so.
But at the moment the linklib directive for FreeBSD defines
{$ifdef FreeBSD}
gtkdll='gtk12';
{$linklib gtk12}
without the '-'.
Can som
Hello,
I have an application that uses TCP sockets nut it is going to be
changed with UNIX sockets.
Can you point me to some easy and clean approach how to emulate UNIX
sockets for Windows.
The only thing I can think of is using named pipes and encapsulate the
functionality in some class. Any othe
On 5/4/06, Florian Klaempfl <[EMAIL PROTECTED]> wrote:
This is assumed to be FPC_VER_201. + isn't a valid character for an id?
You are right. Changing + to P solved my touble.
But FPC should complain about the '+' character, or should not? Bug?
___
fp
Hello,
I use a custom written defines set to determine the fpc version.
---
program project1;
{$mode objfpc}{$H+}
uses SysUtils;
// fpc 2.0.0
{$IF ((FPC_VERSION = 2)
On 5/3/06, Daniël Mantione <[EMAIL PROTECTED]> wrote:
It has been discussed, but Michael is currently writing a new bug
reporting system in Free Pascal, and the developers are supportive to
software written with our own bare hands.
Glad to hear that. Hope the new system comes soon and has all
n
On 5/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
It is not yet possible. We're working on this.
Michael.
Why don't you use a bugtracking system like Mantis, Bugzilla,
PhpBugTracker, etc... like many projects do?
___
fpc-devel maillist - fpc
Hello,
Is it possible to add comments once a bug has been submited to the FPC
bugs database?
It seems to be only for admins. Password is required.
Thanks.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/list
This may be relevant:
http://www.freepascal.org/bugs/showrec.php3?ID=3434
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On 4/23/06, Bogusław Brandys <[EMAIL PROTECTED]> wrote:
> Result printed on console are not sufficient.Compare binary chunks,
C:\>fc -B save.txt.windows save.txt.linux
Comparing files save.txt.windows and save.txt.linux
0005: 3F D0
0006: 3F A2
0007: 3F D0
0008: 3F B8
0009: 4E D1
Hello,
I am developing an application in Lazarus that is multi platform. It
has very strong usage of xml that contains contains cyrillic text
(Bulgarian language). All xml feeds are UTF-8 encoding and is
converted internaly using iconv (UTF-8 -> CP1251 and vice versa) when
needed. On Linux this is
Hello,
as far as I tested TDOMNodeList.GetItem is not working correctly.
- original ---
function TDOMNodeList.GetItem(index: LongWord): TDOMNode;
var
child: TDOMNode;
begin
Result := nil;
child := node.FirstChild;
while Assigned(child) do
begin
if index = 0 then
On 3/17/06, Daniël Mantione <[EMAIL PROTECTED]> wrote:
> I don't plan to put effort in OpenMP support; I don't see the need
> for an external library to be able to do multithreaded programming. Focus
> here should be on 100% Pascal implementations.
Am I missing something here ? OpenMP is a standar
Hello to all,
are there any parallel code developers in the list?
I will have to work on a mixed mode parallel project using MPI and OpenMP.
There are some bindings in pascal for the MPI library which is ok.
Does fpc support OpenMP compiler directives? AFAIK no.
Is there a known pascal compiler th
Hello folks,
I found that TDOMNamedNodeMap.RemoveNamedItem does not delete from
memory the specified Item. It just sets FParentNode := nil. In this
case the following doesn't work as expected :
//-
while Node.Attributes.Length > 0 do
Node.Attributes.RemoveNamedItem(Node.A
Hi to all,
When assigning string that represent numerical value to a variant and
after that assigning that variant to a numeric variable an exception
is raised. When debugging it shows the following message :
---
EVarianter
Hi to all the list,
I've just found SSockets unit. It is very easy to create a Server /
Client applications using the classes in the unit but one thing
bothers me.
in procedure TSocketServer.StartAccepting there are 2 repeat-until
loops and the outer one stops if NoConnections>=FMaxConnections.
NoC
On 1/6/06, Ales Katona <[EMAIL PROTECTED]> wrote:
> Honestly tho I never got that error. Btw you might want to try LNet (
> http://wiki.lazarus.freepascal.org/index.php/LNet ) atleast you can see
> how I do it and prehraps compary my code with your (you're looking to
> TLBaseSocket.SetupSocket).
>
Hello,
I have a two classes that implement TCP / IP client and server.
Internally they use a base class which uses sockets to handle communication.
In this part of code I get an error :
procedure TTCPClient.Connect;
begin
FSocket := Socket(AF_INET, SOCK_STREAM, 0); // create socket descriptor
> ftp://ftp.freepascal.org/pub/fpc/dist/arm-linux-2.0.0/
Thanks. I was lookingin the wrong location.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
where I can download the FPC crosscompiler for arm, and related binutils?
They are missing from the ftp site.
TIA.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
I have a GUI application created with Lazarus and I need to let users
play some mp3 files.
I have the following Button.OnClick
-
begin
pMusic.CommandLine := 'mpg123 /home/user/song.mp3';
pMusic.Active := true;
while pMusic.Running then
Hi folks,
in FPC 2.0.0 there is TDataSet.TempBuffer function with an empty body.
In FPC 2.0.1 it is removed.
I am writing a custom dataset that uses a part ported from Delphi and
there is TempBuffer.
Can you tell me what is its purpose?
It is used only in two places where TDataSet.State = dsFilte
Hi folks,
can you tell if there is a good crypto class for FPC / Lazarus ?
What do you use for crypting your stuff ?
Any opinions are welcome.
TIA.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc
Hi,
what is the CThreads unit replacement in Windows
Do I need to use thread driver under Win32 or it is needed only for Linux?
TIA.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi all,
does fpc xml support encoding ???
I have a document with
and an application which runs on a system with CP1251 locale. The text
is read from the xml file but is not properly shown.
How can I make it show properly ???
Delphi does this automatically ?
TIA
__
Hi all,
I have a XML document and need just a part from it. A simple message
to show on a dialog.
Hello word
I did :
ShowMessage(Document.FindNode('message').NodeValue)
but it returns an empty string. Showing NodeName returns 'message'.
How to get the contents of the tag Is i
Hello,
can anybody point me to documentation on using TTCPClient from fpSock.pp ?
I am porting a Delphi app which uses TidTCPClient to send / receive
text over tcp.
I changed this to using TTCPClient but when doing :
MyTCPClient.Active := true
an exception is raised : 'No event loop assigned'
Hi all,
i have noticed something strange and I am not sure if this is a bug or
a feature.
strSQL := Copy(strSQL,1,Length(strSQL)-1) + ' WHERE ';
strSQL := strSQL ; + ConstructWhereClause;
--^
This part of code must construct a sql sttement which is
46 matches
Mail list logo