Re: [fpc-pascal] Error format question

2020-04-10 Thread Michael Van Canneyt
On Sat, 11 Apr 2020, Ryan Joseph via fpc-pascal wrote: On Apr 11, 2020, at 1:17 PM, Michael Van Canneyt wrote: My guess is you have a config file lying around that causes this to look different (-Fr option?), or you have a custom-made errore.msg file built-in. Interesting, so I overrode

Re: [fpc-pascal] Error format question

2020-04-10 Thread Ryan Joseph via fpc-pascal
> On Apr 11, 2020, at 1:17 PM, Michael Van Canneyt > wrote: > > My guess is you have a config file lying around that causes this to look > different (-Fr option?), or you have a custom-made errore.msg file built-in. Interesting, so I overrode the default format in the trunk somehow. I can't

Re: [fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread Michael Van Canneyt
On Fri, 10 Apr 2020, fredvs via fpc-pascal wrote: Does fpc accept relative path for -Fu in the fpc.cfg config file, something like: -Fu./units/$fpctarget -Fu./units/$fpctarget/* -Fu./units/$fpctarget/rtl No, it seems that it is not possible. So I propose to do this, dont hurt existing c

Re: [fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread Michael Van Canneyt
On Fri, 10 Apr 2020, fredvs via fpc-pascal wrote: Hello. According: https://wiki.freepascal.org/Configuration_file Under a Unix or Unix-like operating systems (e.g. FreeBSD, Linux) 1)The current directory. 2)Your home directory, it looks for .fpc.cfg. 3)The directory specified i

Re: [fpc-pascal] Error format question

2020-04-10 Thread Michael Van Canneyt
On Sat, 11 Apr 2020, Ryan Joseph via fpc-pascal wrote: Sorry to ask this yet again but I keep forgetting or remembering wrong. I thought this was a one time error that was fixed but I'm still getting different error formats with the trunk (as of today) vs 3.0.4. Can anyone please confirm wh

[fpc-pascal] Error format question

2020-04-10 Thread Ryan Joseph via fpc-pascal
Sorry to ask this yet again but I keep forgetting or remembering wrong. I thought this was a one time error that was fixed but I'm still getting different error formats with the trunk (as of today) vs 3.0.4. Can anyone please confirm which it the correct format I should rely on? Ryans-MacBook-

Re: [fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread fredvs via fpc-pascal
> Does fpc accept relative path for -Fu in the fpc.cfg config file, something > like: > -Fu./units/$fpctarget > -Fu./units/$fpctarget/* > -Fu./units/$fpctarget/rtl No, it seems that it is not possible. So I propose to do this, dont hurt existing code, only gives happiness: in cfileutls.pas do

Re: [fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread fredvs via fpc-pascal
Hello. The last line of function check_configfile(fn:string; var foundfn:string):boolean; should be something like this: ... else if CfgFileExists(IncludeTrailingBackslash(ExtractFilePath(ParamStr(0)))+fn) then foundfn:=IncludeTrailingBackslash(ExtractFilePath(ParamStr(0)))+fn else

Re: [fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread fredvs via fpc-pascal
Hello. In fpc code /compiler/options.pas, for function check_configfile(fn:string; var foundfn:string):boolean; { Order to read configuration file : try reading fpc.cfg in : 1 - current dir 2 - configpath 3 - compiler path } But if you check in code, the option 3 is nev

[fpc-pascal] Search path order for fpc.cfg

2020-04-10 Thread fredvs via fpc-pascal
Hello. According: https://wiki.freepascal.org/Configuration_file Under a Unix or Unix-like operating systems (e.g. FreeBSD, Linux) 1)The current directory. 2)Your home directory, it looks for .fpc.cfg. 3)The directory specified in the environment variable PPC_CONFIG_PATH, and if it

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread fredvs via fpc-pascal
> But you need it to compile and link it (especially in C/C++). Yes, for C/C++ sometimes developers needs the .a static libraries, the new library.h header, .la files, etc. And by convenience some libraries give a "dev" packages with all that, included the "nude" symlink that point to the develop

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread Sven Barth via fpc-pascal
Luca Olivetti schrieb am Fr., 10. Apr. 2020, 16:11: > El 10/4/20 a les 14:30, Michael Van Canneyt ha escrit: > > > We don't need to use this mechanism ourselves (I've never needed it), > > Probably because you already have the needed dev package installed or > created the symlink yourself. > No o

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread Luca Olivetti
El 10/4/20 a les 14:30, Michael Van Canneyt ha escrit: We don't need to use this mechanism ourselves (I've never needed it), Probably because you already have the needed dev package installed or created the symlink yourself. No other linux binary packaged by any distribution needs the dev pa

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread fredvs via fpc-pascal
@Michael: Thanks. <3 Fre;D -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread Michael Van Canneyt
On Fri, 10 Apr 2020, fredvs via fpc-pascal wrote: I'm surprised you want to distribute your own version of the compiler. Huh, https://bugs.freepascal.org/view.php?id=32367 No answer, no no good will, hate, dont want to understand, ... ---> conclusion: https://github.com/fredvs/freepascal

Re: [fpc-pascal] About fpc license.

2020-04-10 Thread fredvs via fpc-pascal
> I'm surprised you want to distribute your own version of the compiler. Huh, https://bugs.freepascal.org/view.php?id=32367 No answer, no no good will, hate, dont want to understand, ... ---> conclusion: https://github.com/fredvs/freepascal Fre;D -- Sent from: http://free-pascal-general