Current chat
Todays chat
#fpc - #fpc Welcome to the FPC discussion channel || visit
http://www.freepascal.org
|| Don't ask to ask, just ask:
http://www.catb.org/~esr/faqs/smart-questions.html
|| Current release 3.2.0 || svn commit announcements only in #fpc-dev
[01:17] <GPF_PRO> Pascl to C/C++ code
[01:17] <sh4rm4^bnc> yeah, i saw such a translator recently on github
[01:17] <GPF_PRO> at the time I was usng VC++
[01:18] <GPF_PRO> so the idea at the time was I had C/C++ abilities but in a pascal format.
[01:19] <sh4rm4^bnc> what translator did u use
[01:19] <GPF_PRO> Classes were coverted to C classes etc
[01:19] <GPF_PRO> I wrote it myself
[01:19] <GPF_PRO> I recreated the sources
[01:19] <GPF_PRO> I need to fire up one of my other old PC's to find that code.
[01:20] <sh4rm4^bnc> this is the one i stumbled upon
https://github.com/djipi/p2c
[01:20] <ShaoB> GitHub - djipi/p2c: Pascal to C translator
[01:20] <GPF_PRO> I originally started that in D3
[01:20] <sh4rm4^bnc> it seems to be based on some GNU project
[01:21] <GPF_PRO> Yes, its not bad going from Pascal to C but to go from a Class/Object Pascal over to C/C++ is a mess
[01:22] <GPF_PRO> For one thing, MS does not like people using their compiling tools without their desktop being in use
[01:22] <GPF_PRO> I had to work around that problem..
[01:22] <GPF_PRO> it refused to compile any code from the command line if it didn't see the VC++ IDE operating
[01:23] <GPF_PRO> so I hacked it a little with a debugger to see what it was looking for and faked it with a dummy stub
[01:24] <GPF_PRO> it would do a findWindow, looking for its IDE and then post a message.
[01:24] <GPF_PRO> the return value was the key
[01:24] <sh4rm4^bnc> lol
[01:26] <GPF_PRO> There are many tools out there that do such things
[01:26] <GPF_PRO> if it belongs to a tool chain they want to ensure you have the complete chain onboard
[01:27] <GPF_PRO> ok. I need to wrap my head around some graphics code
[01:27] <GPF_PRO> also I need to get back and retest three DLLs that do not work with 3.2.0
[01:27] <GPF_PRO> but need to try them with 3.3.1
[01:44] Ecran10 has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
[02:11] Jo-Anna has joined #fpc
[02:12] <Jo-Anna> Hi everyone
[03:05] GPF_PRO has quit IRC (Quit: On the other hand, you have different fingers.)
[03:59] Wormnest has quit IRC (Quit: Leaving)
[04:10] mischi has quit IRC (Ping timeout: 240 seconds)
[04:12] mischi has joined #fpc
[04:14] mischi has quit IRC (Client Quit)
[05:21] fets_ has quit IRC (Ping timeout: 272 seconds)
Selection
Number of lines to show:
10
35
60
85
110
135
160
185
210
235
260
285
Show time for each line:
Start time
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
,
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
End time
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
,
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
Wall - (c) by ele
0.0087440013885498 seconds
Powered by PHP and PostgreSQL
35 lines