[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-10-19 Thread Reinier Olislagers
On 19-6-2012 9:51, Reinier Olislagers wrote: > The recent thread about using C headers made me think about using C++ > projects. > > Found that the SWIG tool converts C/C++ .h files into glue code and > bindings for e.g. Python, Modula 3... but not Delphi/Object Pascal. > > It seems you get an ob

Re: [fpc-pascal] Failed cross compilation

2012-10-19 Thread patspiper
On 19/10/12 23:27, Marco van de Voort wrote: In our previous episode, patspiper said: I am able to compile FPC 2.6.1 (rev 22778) under Ubuntu 11.04 32 bits. However cross compiling to win32 fails with the error: /usr/bin/ld: cannot find -lgcc I was able to cross compile successfully about 2 wee

Re: [fpc-pascal] Failed cross compilation

2012-10-19 Thread Marco van de Voort
In our previous episode, patspiper said: > I am able to compile FPC 2.6.1 (rev 22778) under Ubuntu 11.04 32 bits. > However cross compiling to win32 fails with the error: /usr/bin/ld: > cannot find -lgcc > > I was able to cross compile successfully about 2 weeks ago. > > The relevant part of th

[fpc-pascal] Failed cross compilation

2012-10-19 Thread patspiper
Hi, I am able to compile FPC 2.6.1 (rev 22778) under Ubuntu 11.04 32 bits. However cross compiling to win32 fails with the error: /usr/bin/ld: cannot find -lgcc I was able to cross compile successfully about 2 weeks ago. The relevant part of the log: make -C fastcgi smart make[3]: Entering d