[fpc-pascal] Re: put data to stdout (fpc vs. gcc)

2007-06-17 Thread L
> I know, programs with a writeln() have lower performance, but > I think, printf() and writeln() must do the same. This need time to > calculate. You have to explain problem more. The key thing to do is find your bottleneck. Write some benchmarks for float to string conversions and put them in

[fpc-pascal] Re: Question about some units

2007-06-17 Thread L
Test writes: > I have a source file (test.pp) that uses some units. Where can I get > those units? If you didn't notice, I am a newbie :) > I tried to compile but it obviously drops an error. > > uses > cgiapp, unix, unixutils, classes, inifiles FPC compiler comes with compiled .a/.ppu/.o file

[fpc-pascal] Re: library initialization and deinitialization

2007-06-17 Thread L
> I've got a shared library (.so) I wrote in C, with initialization and > finalization code declared by using the GCC attributes constructor and > destructor. These init and fini functions simply print out "start" and > "stop" to stdout. The .so exports one function, which prints out > "Hello". >

[fpc-pascal] Re: put data to stdout (fpc vs. gcc)

2007-06-17 Thread L
> Adrian Wrote: > no - that was not the problem. I have my linux running in a coLinux > > session and it seems that the linker fails, when the file is in a > > windows drive, even as root. other programms don't have problems to read > > or write to this drive. > > > > but there is still a strange

[fpc-pascal] Re: put data to stdout (fpc vs. gcc)

2007-06-17 Thread L
Adrian Wrote:> no - that was not the problem. I have my linux running in a coLinux > session and it seems that the linker fails, when the file is in a > windows drive, even as root. other programms don't have problems to read > or write to this drive. > > but there is still a strange problem with

Re: [fpc-pascal] Re: fpc-pascal DLLs

2007-06-17 Thread Alexey Pavluchenko
Hello, Dr wrote: Please tell me whether FPC Pascal makes DOS ( DPMI ) "protected mode" DLL and EXE files, that is, a DLL ( called by a DPMI EXE ) that runs on DOS, even if there is NO Windows at all on my machine It doesn't, but maybe HX DOS is what you need: http://www.japheth.de/HX.htm