[fpc-pascal] excluding files or dirs from fpcmake packaging
Hi, when using fpcmake to create distribution packages anything in the source dir is getting packed into the "zipsourceinstall"-package. Is it possible to exclude some selected files or directories by naming them in the Makefile.fpc? TIA, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] what doese shared-build do in fpcmake?
Hi, maybe my docs are outdated, but I didn't find an explanation for this one (found in several files in the fpc packages tree): [shared] build=n What's it good for? TIA, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] No need for as and ld on i386-win32?
I've just read the buildfaq that Marco wrote and I found that under x86 (win32 and elf), FPC has internal assembler (I didn't know this before). Even under win32 it also has internal linker (I already know this one). Does it mean that as and ld is no longer needed for i386-win32? I see a path where FPC is going to: leaving GNU tools slowly but sure (at least from above and the future plan for replacing GNU Make with FPMake). Am I right? If so, bye-bye C-things!!! (^o^) -- View this message in context: http://www.nabble.com/No-need-for-as-and-ld-on-i386-win32--tp18562235p18562235.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Getting fast output
Is there any way so that Write(Ln) doesn't flush the buffer after each call (as if it's called to write to a file, I knew it from rtl's file handling source), but only when Flush is called? I found some maniac's code that does it at assembler level, but of course it's platform dependant (i386-linux only). Currently, I get it through the use of: TextRec().FlushFunc:=nil; but this forces me to use SysUtils which increase the executable size significantly. If this is the only solution, then please move the record to System unit (if possible, with FileRec too). -- View this message in context: http://www.nabble.com/Getting-fast-output-tp18562328p18562328.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] PToP problem on 'uses' keyword
Everytime I have a uses section in my source, PToP always thinks that the uses section never ends. For example: program tes; uses Math; procedure proc(s: String); begin WriteLn(s); end; begin proc('something'); end. Without the uses section, I got them formatted properly. E.g.: program tes; procedure proc(s: String); begin WriteLn(s); end; begin proc('something'); end. Here's my ptop.cfg: http://www.nabble.com/file/p18562377/ptop.cfg ptop.cfg -- View this message in context: http://www.nabble.com/PToP-problem-on-%27uses%27-keyword-tp18562377p18562377.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] excluding files or dirs from fpcmake packaging
> Hi, > > when using fpcmake to create distribution packages anything in the > source dir is getting packed into the "zipsourceinstall"-package. > > Is it possible to exclude some selected files or directories by naming > them in the Makefile.fpc? No. It is one of the reasons why fpmake/fppkg will be introduced in the future. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Getting fast output
> > Is there any way so that Write(Ln) doesn't flush the buffer after each call > (as if it's called to write to a file, I knew it from rtl's file handling > source), but only when Flush is called? I found some maniac's code that does > it at assembler level, but of course it's platform dependant (i386-linux > only). Currently, I get it through the use of: > TextRec().FlushFunc:=nil; > but this forces me to use SysUtils which increase the executable size > significantly. If this is the only solution, then please move the record to > System unit (if possible, with FileRec too). http://www.freepascal.org/docs-html/rtl/system/settextbuf.html ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] excluding files or dirs from fpcmake packaging
Am Montag, den 21.07.2008, 07:43 +0200 schrieb Peter Vreman: > > Hi, > > > > when using fpcmake to create distribution packages anything in the > > source dir is getting packed into the "zipsourceinstall"-package. > > > > Is it possible to exclude some selected files or directories by naming > > them in the Makefile.fpc? > > No. It is one of the reasons why fpmake/fppkg will be introduced in the > future. I see, the first reason for using fpmake (besides using pascal language ;). Thanks, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal