Jonas Maebe wrote:
Is there a document somewhere that specifies how exactly cdecl varargs
is implemented on the different platforms?
There is one such document per ABI. These individual ABI documents are located
all over the web. E.g. the official x86-64 ABI can be found at
http://www.x86-64
On 11/11/2012 07:05, Tomas Hajny wrote:
On 10 Nov 12, at 20:29, waldo kitty wrote:
before i get too much further along on this project, i guess i should ask about
the ssleay32 and libeay32 libraries on OS/2...
i'm developing this project on windows with the ultimate goal of copying the
source
On 11 Nov 2012, at 21:17, Bernd wrote:
> 2012/11/11 Jonas Maebe :
>
>> Then you probably only read about i386 ABIs (and maybe m68k).
>
> But a bunch of ifdefs should do the trick then, it should still be
> possible to implement every possible implementation in pascal somehow.
No, it is not pos
On 11/10/2012 08:31 PM, leledumbo wrote:
It can (modify the parser of course), and AFAIR, in the Lazarus trunk it
already handles some.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Can-JCF-handle-Generics-tp5711920p5711924.html
Sent from the Free Pascal -
2012/11/11 Jonas Maebe :
> Then you probably only read about i386 ABIs (and maybe m68k).
But a bunch of ifdefs should do the trick then, it should still be
possible to implement every possible implementation in pascal somehow.
Is there a document somewhere that specifies how exactly cdecl vararg
On 11 Nov 2012, at 20:57, Bernd wrote:
> 2012/11/11 Jonas Maebe :
>
>> No, because the C varargs calling convention does not simply pass the
>> parameters on the stack on most platforms.
>
> Where else are the arguments if not on the stack?
In registers.
> Everything I have
> read so far abo
2012/11/11 Jonas Maebe :
> No, because the C varargs calling convention does not simply pass the
> parameters on the stack on most platforms.
Where else are the arguments if not on the stack? Everything I have
read so far about varargs and cdecl says they are on the stack.
__
On 11 Nov 2012, at 20:42, Bernd wrote:
> Wouldn't it be possible to write a function in pascal that declares a
> simple longint parameter instead of the varargs and then inside the
> function use the stack pointer (the address of that argument) to read
> the entire list from the stack directly?
2012/11/11 Sven Barth :
> Yes and this is exactly what the change states. You can not write "varargs"
> functions in Pascal that can be accessed from C.
Wouldn't it be possible to write a function in pascal that declares a
simple longint parameter instead of the varargs and then inside the
functi
On 11.11.2012 13:58, ik wrote:
On Sun, Nov 11, 2012 at 2:54 PM, Sven Barth wrote:
On 11.11.2012 13:40, ik wrote:
Hello,
I'm trying to write a shard library of my own that you can use with C
as well. I'm using mode fpc, and not objfpc.
I created something like this:
...
procedure varargs_ex
On Sun, Nov 11, 2012 at 2:54 PM, Sven Barth wrote:
> On 11.11.2012 13:40, ik wrote:
>>
>> Hello,
>>
>> I'm trying to write a shard library of my own that you can use with C
>> as well. I'm using mode fpc, and not objfpc.
>>
>> I created something like this:
>>
>> ...
>> procedure varargs_example(p
On 11.11.2012 13:40, ik wrote:
Hello,
I'm trying to write a shard library of my own that you can use with C
as well. I'm using mode fpc, and not objfpc.
I created something like this:
...
procedure varargs_example(params : array of consts); cdecl;
...
The compiler report an error:
Error:Type
Hello,
I'm trying to write a shard library of my own that you can use with C
as well. I'm using mode fpc, and not objfpc.
I created something like this:
...
procedure varargs_example(params : array of consts); cdecl;
...
The compiler report an error:
Error:Type identifier expected
Fatal: Syntax
On 10 Nov 12, at 20:29, waldo kitty wrote:
> before i get too much further along on this project, i guess i should ask
> about
> the ssleay32 and libeay32 libraries on OS/2...
>
> i'm developing this project on windows with the ultimate goal of copying the
> source files over to my OS/2 (eCS2
On 11-11-2012 6:55, microc...@zoho.com wrote:
> On Sat, Nov 10, 2012 at 07:57:09PM +0100, Jonas Maebe wrote: > > On 10
> Nov 2012, at 19:38, microc...@zoho.com wrote: > > > On Sat, Nov 10, 2012
> at 06:20:29PM +0100, Reinier Olislagers wrote: > >> Has anybody tried
> the Pathscale debugger on Linux
15 matches
Mail list logo