Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Marco van de Voort
> > > > > 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

Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread L505
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

Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Lukas Gebauer
> > > > 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

Re: [fpc-pascal] RE: Which OS?

2005-07-12 Thread Tomas Hajny
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

Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Marco van de Voort
> > > 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

Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Lukas Gebauer
> > 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

Re: [fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Peter Vreman
> 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

[fpc-pascal] Crosscompile linking problems

2005-07-12 Thread Lukas Gebauer
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

Re: [fpc-pascal] alternative source format

2005-07-12 Thread Marc Santhoff
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

[fpc-pascal] RE: Which OS?

2005-07-12 Thread Jeff Pohlmeyer
> 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

Re: [fpc-pascal] alternative source format

2005-07-12 Thread Michael Van Canneyt
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

[fpc-pascal] alternative source format

2005-07-12 Thread Rimgaudas Laucius
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

Re: [fpc-pascal] Which OS?

2005-07-12 Thread Michael Van Canneyt
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

Re: [fpc-pascal] Which OS?

2005-07-12 Thread Andres K. Foerster
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