Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
Ok folks, I made this question on the Symbian forum and got an answer =) One can use the Linker to create a dump file with all exported names. The command is the following: mwldsym2 -S -show names,verbose C:\Programas\Symbian\UIQ3SDK\epoc32\release\winscw\udeb\euser.lib And the function I was

[fpc-pascal] Embedded web server

2007-03-14 Thread Jason P Sage
Leonardo M. Ramé Wrote >Hi, I need to create a web app and don't whant to use CGI or Apache >modules, in fact I whant to >create my own web server that serves only an embedded app. > >Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was >looking for something similar. > >Leonardo

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: You are underestimating the mess. With what version of GCC would it be compatible? With the one that comes on the SDK =) I think it´s 4 One thing that confuses me is: Shouldn´t the mangled name be written somewhat on the .LIB file? If it i

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Daniël Mantione
Op Wed, 14 Mar 2007, schreef Felipe Monteiro de Carvalho: > On 3/14/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: > > Not that C++ name mangling differs per compiler and per compiler version. > > Depending on what compiler the Symbian SDK uses, Valgrind code migth not > > be useable at all. >

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: Not that C++ name mangling differs per compiler and per compiler version. Depending on what compiler the Symbian SDK uses, Valgrind code migth not be useable at all. The SDK uses CodeWarrior C++ for the emulator. With some lucky it is compa

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Daniël Mantione
Op Wed, 14 Mar 2007, schreef Felipe Monteiro de Carvalho: > On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Try the demangling code from valgrind... > > I took a look at valgrind website, and it seams to only work on Linux. > Is that right? > > The Symbian SDK only works on Window

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Try the demangling code from valgrind... I took a look at valgrind website, and it seams to only work on Linux. Is that right? The Symbian SDK only works on Windows, so they cannot be utilized together. thanks, -- Felipe Monteiro de Car

Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Michael Van Canneyt
On Wed, 14 Mar 2007, wrote: > Thanks Michael, can you point me to the urls of that products? The lazarus wiki contains a lcl page; the rest is part of FPC by default. You could also try Indy for FPC, I don't know if Synapse has a server component, it definitely has client components. Michae

Re: [fpc-pascal] C++ Name Mangling

2007-03-14 Thread leslie . polzer
On Wed, Mar 14, 2007 at 08:28:00PM +0100, Felipe Monteiro de Carvalho wrote: > Any other ideas? I tryed to open the .lib file with a HEX editor to > search for _ZN, or other strings that would reveal the mangled name, > but it was futile. Try the demangling code from valgrind... Leslie -- NE

Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/07, Leonardo M. Ramé <[EMAIL PROTECTED]> wrote: Thanks Michael, can you point me to the urls of that products? http://wiki.lazarus.freepascal.org/lNet fpc-xml should be part of a normal fpc installation afaik ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Leonardo M. Ram
Thanks Michael, can you point me to the urls of that products? --- Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 14 Mar 2007, wrote: > > > Hi, I need to create a web app and don't whant to use CGI or Apache > > modules, in fact I whant > to > > create my own web server that s

Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Michael Van Canneyt
On Wed, 14 Mar 2007, wrote: > Hi, I need to create a web app and don't whant to use CGI or Apache modules, > in fact I whant to > create my own web server that serves only an embedded app. > > Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was looking > for something simil

[fpc-pascal] C++ Name Mangling

2007-03-14 Thread Felipe Monteiro de Carvalho
Hello, Does anyone know a good way to find out the name of a exported method on C++ I am trying to link to C++ from Symbian OS. The method is declared like this: class User : public UserHeap { public: . IMPORT_C static TInt InfoPrint(const TDesC& aDes); Normally I would guess it´

[fpc-pascal] Embedded web server

2007-03-14 Thread Leonardo M. Ram
Hi, I need to create a web app and don't whant to use CGI or Apache modules, in fact I whant to create my own web server that serves only an embedded app. Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was looking for something similar. Leonardo M. Ramé http://leonardorame.b

[fpc-pascal] softfloat bug?

2007-03-14 Thread Henry Vermaak
hi everyone fpc with softfloat seems to work quite well on arm (le). i've run into a strange problem, though. i've got code that looks like this: writeln(stderr, 'gain is ', round(scan.avge.tip.gain * 100)); writeln(stderr, 'gain is ', format('%.0f', [scan.avge.tip.gain * 100])); sometimes

Re: [fpc-pascal] arm big endian questions and info

2007-03-14 Thread Henry Vermaak
On 14/03/07, Marc Santhoff <[EMAIL PROTECTED]> wrote: Sorry for stumbling into this thread. May I ask what type of hardware you're using? linksys nslu2. www.nslu2-linux.org. very neat piece of kit - and you can choose what kind of an os you want to flash onto it. 2xusb2 ports and 1xeth. i'

Re: [fpc-pascal] arm big endian questions and info

2007-03-14 Thread Marc Santhoff
Am Mittwoch, den 14.03.2007, 20:12 +1300 schrieb Terry Kemp: > On Tue, 2007-03-13 at 13:08 +, Henry Vermaak wrote: > > it's very easy to flash the slug with little endian firmware. i can > > use latest (well, latest is broken now, use 6811) compiled with soft > > float on mine without problems