[fpc-pascal] How to get string with target OS and CPU?
jonas.maebe at elis.ugent.be
Fri May 27 13:28:40 CEST 2011
On 27 May 2011, at 13:18, Krzysztof wrote:
> I need friendly name of OS and processor type at runtime. I need
> this for
> "user-agent" header in http client. Some kind of "Linux x86_64
> ("Linux x86_64" should be enough). "GetEnvironmentVariable" function
> not return anything interesting. I can build this string using
> defines but there is a lot of targets CPU and OS and maybe free
> pascal have
> some functions?
More information about the fpc-pascal