Hello,
Le 21/06/2015 13:58, Marco van de Voort a écrit :
In our previous episode, patspiper said:
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
Is this a bug?
Not of a
On 21/06/15 17:46, Marco van de Voort wrote:
In our previous episode, patspiper said:
INPUT(
-l c
)
I think that should be -lc, not -l c. I don't know where the extra
space is coming from in your case.
Exactly!
I have just posted a message with my findings. Which program produces
link.res?
On 21/06/15 11:28, patspiper wrote:
Using 'ppc386 -s program1.pp' instead, line 121 of link.res is '-l c' in
the section:
INPUT(
-l c
)
I think that should be -lc, not -l c. I don't know where the extra
space is coming from in your case.
Jonas
On 21/06/15 14:58, Marco van de Voort wrote:
In our previous episode, patspiper said:
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
Is this a bug?
Not of a general kind, since
patspiper wrote:
On 21/06/15 14:58, Marco van de Voort wrote:
In our previous episode, patspiper said:
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
Is this a bug?
Not of a
On 21/06/15 16:40, Jonas Maebe wrote:
On 21/06/15 11:28, patspiper wrote:
Using 'ppc386 -s program1.pp' instead, line 121 of link.res is '-l c' in
the section:
INPUT(
-l c
)
I think that should be -lc, not -l c. I don't know where the extra
space is coming from in your case.
Exactly!
I have
On 21/06/15 14:58, Marco van de Voort wrote:
In our previous episode, patspiper said:
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
Is this a bug?
Not of a general kind, since
On 21/06/15 15:50, patspiper wrote:
So the issue is fpc producing link.res with a -l c instead of -lc. Which
program specifically produces link.res?
It's the compiler. But this can't be a problem that always occurs,
because otherwise make all would fail too as fpmake by default also
links to
In our previous episode, patspiper said:
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
Is this a bug?
Not of a general kind, since it works on most Linux distros. E.g. it
In our previous episode, patspiper said:
INPUT(
-l c
)
I think that should be -lc, not -l c. I don't know where the extra
space is coming from in your case.
Exactly!
I have just posted a message with my findings. Which program produces
link.res?
Maybe the problem is the $linklib
Hi,
Compiling the following simple program (from fpc prog manual
http://www.freepascal.org/docs-html/prog/progsu46.html#x53-520001.2.46)
yields a linking syntax error:
program Project1;
{$Linklib c}
Const P : PChar = 'This is fun !';
Function strlen (P: PChar): Longint; cdecl; external;
11 matches
Mail list logo