Am Monday, dem 11. Jul 2005 schrieb Michael Van Canneyt:
> >Hello,
> >
> >how can I test - at runtime - under which OS (Linux, Windows and so on) a
> >FPC-program is running?
>
> Try
>
> Var
> ThisOS : String;
>
> begin
> ThisOS := {$I %FPCTARGET%};
>
> results in a string of the form i38
On Mon, 11 Jul 2005, Andres K. Foerster wrote:
Am Monday, dem 11. Jul 2005 schrieb Michael Van Canneyt:
Hello,
how can I test - at runtime - under which OS (Linux, Windows and so on) a
FPC-program is running?
Try
Var
ThisOS : String;
begin
ThisOS := {$I %FPCTARGET%};
results in a s
Hello,
the problem is that IDEs like FP and others have no exact
place where to store compiler configuration switches and
other program (project) related info. For examle if user set
switches in FP, they effect all opened units, so there is no
possibility to configure each unit differently if
On Tue, 12 Jul 2005, Rimgaudas Laucius wrote:
Hello,
the problem is that IDEs like FP and others have no exact
place where to store compiler configuration switches and
other program (project) related info. For examle if user set
switches in FP, they effect all opened units, so there is no
pos
> how can I test - at runtime - under which OS (Linux, Windows and so on)
> a FPC-program is running?
{$IFDEF unix}
http://www.freepascal.org/docs-html/rtl/baseunix/fpuname.html
{$ELSE}
{IFDEF WIN32}
http://msdn.microsoft.com/library/en-us/sysinfo/base/getversionex.asp
{$EN
Am Dienstag, den 12.07.2005, 12:01 +0300 schrieb Rimgaudas Laucius:
> Hello,
Hi,
> the problem is that IDEs like FP and others have no exact
> place where to store compiler configuration switches and
> other program (project) related info. For examle if user set
> switches in FP, they effect a
Hi!
I am trying crosscompile my commandline application from Win32 to
linux. I have cross binutils, compiled linux RTL and other
packages... so, I have not any problem with crosscompile. I have a
problem with final linking of crosscompiled application only.
I have a few '.so' from Mandrake9 in
> Hi!
>
> I am trying crosscompile my commandline application from Win32 to
> linux. I have cross binutils, compiled linux RTL and other
> packages... so, I have not any problem with crosscompile. I have a
> problem with final linking of crosscompiled application only.
>
> I have a few '.so' from M
> > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > [EMAIL PROTECTED]'
> > C:\FPC\2.0.0\lib\/libpthread.so: undefined reference to
> > [EMAIL PROTECTED]'
> > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > [EMAIL PROTECTED]'
> > Have you some ideas? Have I missed somethink?
> >
> > I ca
> > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > [EMAIL PROTECTED]'
> > > C:\FPC\2.0.0\lib\/libpthread.so: undefined reference to
> > > [EMAIL PROTECTED]'
> > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > [EMAIL PROTECTED]'
> > > Have you some ideas? Have I missed somethink
On Tue, July 12, 2005 13:07, Jeff Pohlmeyer said:
>> how can I test - at runtime - under which OS (Linux, Windows and so on)
>> a FPC-program is running?
>
> {$IFDEF unix}
> http://www.freepascal.org/docs-html/rtl/baseunix/fpuname.html
> {$ELSE}
> {IFDEF WIN32}
> http://msdn.micr
> > > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > > [EMAIL PROTECTED]'
> > > > C:\FPC\2.0.0\lib\/libpthread.so: undefined reference to
> > > > [EMAIL PROTECTED]'
> > > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > > [EMAIL PROTECTED]'
> > > > Have you some ideas? Have I mi
Another option is to use CoLinux, which let's you compile anything once you just
get Linux up and running on windows. I found was a lot less work in the end.
You have access to all linux related commands and linux related everything,
since you are essentially running linux in windows.
|
| Require
> > > > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > > > [EMAIL PROTECTED]'
> > > > > C:\FPC\2.0.0\lib\/libpthread.so: undefined reference to
> > > > > [EMAIL PROTECTED]'
> > > > > C:\FPC\2.0.0\lib\/libc.so: undefined reference to
> > > > > [EMAIL PROTECTED]'
> > > > > Have you some id
14 matches
Mail list logo