Re: [fpc-devel] Re: Fpc Target directory function

2008-01-30 Thread Peter Vreman
> {$I %FPCTARGETCPU%}+'-'+{$I %FPCTARGETOS%}; > > > is the most ugliest crap I've seen in Pascal code, which is why I made > the FpcTargetDir function. > > FpcTargetDir is simply cleaner and more elegant. > >> And there is no generic rule that says that you need to encode >> TargetDir like cpu-os f

Re: [fpc-devel] Re: Fpc Target directory function

2008-01-29 Thread Michael Schnell
I vote for a patch that include the FpcTargetDir function in the RTL ! -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] Re: Fpc Target directory function

2008-01-29 Thread L
> result:= {$I %FPCTARGETCPU%}+'-'+{$I %FPCTARGETOS%}; Above works for my needs, just wonder if something already exists in RTL or if it should be added for convenience. It doesn't exists and i don't see a reason why it should be added. The above line is simple. The above line: {$I %FP