[fpc-pascal] fpcmake questions
I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpcError: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpcmake questions
Hi Darius, I had the same issue ... Is my emails on the 9th July in FPC-Devel mailing list. Titled "fpcmake keeps failing". I had the FPCDIR set wrong... It must point to the fpc source directory and not the fpc root directory.. export FPC=/opt/fpc-2.1.1/bin/ppc386 export FPCDIR=/opt/fpc-2.1.1/src Regards, Graeme. On 7/28/06, Darius Blaszijk <[EMAIL PROTECTED]> wrote: I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpc Error: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] X Windows and FPC
Hi, I found this 121 page document on the Internet, but I don't understand Russian (or whatever it is written in). I seems to cover a lot about X Windows programming in FPC. Anybody know if there is an English translation floating around somewhere? I have the document in PDF format called xwinfpc.pdf (unfortunately I never saved the original download link). I also found the html version at: http://pascal.sources.ru/graph/xwinfpc/index.htm Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpcmake questions
Thanks, Graeme. That did the trick Darius - Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 9:45 AM Subject: Re: [fpc-pascal] fpcmake questions Hi Darius, I had the same issue ... Is my emails on the 9th July in FPC-Devel mailing list. Titled "fpcmake keeps failing". I had the FPCDIR set wrong... It must point to the fpc source directory and not the fpc root directory.. export FPC=/opt/fpc-2.1.1/bin/ppc386 export FPCDIR=/opt/fpc-2.1.1/src Regards, Graeme. On 7/28/06, Darius Blaszijk <[EMAIL PROTECTED]> wrote: I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpc Error: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Try this link, http://world.altavista.com/. It's not perfect, but it helps. ;) Darius - Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 10:22 AM Subject: [fpc-pascal] X Windows and FPC Hi, I found this 121 page document on the Internet, but I don't understand Russian (or whatever it is written in). I seems to cover a lot about X Windows programming in FPC. Anybody know if there is an English translation floating around somewhere? I have the document in PDF format called xwinfpc.pdf (unfortunately I never saved the original download link). I also found the html version at: http://pascal.sources.ru/graph/xwinfpc/index.htm Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
I actually just found that myself. :-) Previously I only looked at Google which doesn't support Russian - never even crossed my mind to look at AltaVista. Thanks Darius! Now to get permission to translate and publish it... Regards, Graeme. On 7/28/06, Darius Blaszijk <[EMAIL PROTECTED]> wrote: Try this link, http://world.altavista.com/. It's not perfect, but it helps. ;) Darius - Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 10:22 AM Subject: [fpc-pascal] X Windows and FPC > Hi, > > I found this 121 page document on the Internet, but I don't understand > Russian (or whatever it is written in). I seems to cover a lot about > X Windows programming in FPC. > > Anybody know if there is an English translation floating around somewhere? > > I have the document in PDF format called xwinfpc.pdf (unfortunately I > never saved the original download link). I also found the html > version at: > > http://pascal.sources.ru/graph/xwinfpc/index.htm > > > Regards, > Graeme. > > > -- > There's no place like 127.0.0.1 > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On Fri, 28 Jul 2006, Graeme Geldenhuys wrote: Hi, I found this 121 page document on the Internet, but I don't understand Russian (or whatever it is written in). I seems to cover a lot about X Windows programming in FPC. I speak russian, can you send the PDF to me ? It will be interesting reading material. Anybody know if there is an English translation floating around somewhere? I have the document in PDF format called xwinfpc.pdf (unfortunately I never saved the original download link). I also found the html version at: http://pascal.sources.ru/graph/xwinfpc/index.htm Looking at the introduction, it's the "translation" of a C book to Pascal. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > I found this 121 page document on the Internet, but I don't understand > Russian (or whatever it is written in). I seems to cover a lot about > X Windows programming in FPC. I speak russian, can you send the PDF to me ? It will be interesting reading material. It looked interesting to me as well ;-) Might be a worthy addition to the rest of the documentation you wrote. Could you let me know if it will be worth the time translating? I'm sending the PDF now... Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On Fri, 28 Jul 2006, Graeme Geldenhuys wrote: On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > I found this 121 page document on the Internet, but I don't understand > Russian (or whatever it is written in). I seems to cover a lot about > X Windows programming in FPC. I speak russian, can you send the PDF to me ? It will be interesting reading material. It looked interesting to me as well ;-) Might be a worthy addition to the rest of the documentation you wrote. Could you let me know if it will be worth the time translating? From my point of view it is worth it - it would be great material to help in creating a LCL widget set on top of X, but the question is who has the time for this... I certainly don't :( Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >From my point of view it is worth it - it would be great material to help in creating a LCL widget set on top of X, but the question is who has the time for this... I certainly don't :( I am currently busy creating a FPC widget set (based on Qt, fpGUI and lptk), hence my interest in this document. The widget set uses Windows GDI and XLib directly, no underlying 3rd party widget set requirements. Integration with Lazarus will have to wait until the widget set is more robust, but that is one of my goals. I will start the translation - just wanted to know if it would actually be worth the effort. I couldn't judge before, because I couldn't understand the content. Would you mind if a asked you a few things in case AltaVista didn't do a good job with the translation and I couldn't figure it out myself? Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On Fri, 28 Jul 2006, Graeme Geldenhuys wrote: On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >From my point of view it is worth it - it would be great material to help in creating a LCL widget set on top of X, but the question is who has the time for this... I certainly don't :( I am currently busy creating a FPC widget set (based on Qt, fpGUI and lptk), hence my interest in this document. The widget set uses Windows GDI and XLib directly, no underlying 3rd party widget set requirements. Integration with Lazarus will have to wait until the widget set is more robust, but that is one of my goals. I will start the translation - just wanted to know if it would actually be worth the effort. I couldn't judge before, because I couldn't understand the content. Would you mind if a asked you a few things in case AltaVista didn't do a good job with the translation and I couldn't figure it out myself? I absolutely don't mind, but tonight I leave on a holiday for a week, so you won't get any response before the 7th of august, as I will not have access to internet. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: I absolutely don't mind, but tonight I leave on a holiday for a week, so you won't get any response before the 7th of august, as I will not have access to internet. Thanks Michael. Enjoy your holiday... Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] crosscompiling from win32 to i386-linux and libc linking
Hi, I have linking problems when cross-compiling from win32 to i386-linux and linking with libc (dynamically). I use FPC 2.0.2, the libs are from a Debian Sarge (glibc-2.3.6, I tried with glibc 2.3.2 with same results), cross ld is : ld.exe -V GNU ld version 2.15 Supported emulations: elf_i386 i386linux I get the following errors : fpc -Mdelphi -Tlinux test.pas -Fl'c:\FPC\2.0.2\lib\i386-linux' Free Pascal Compiler version 2.0.2 [2005/11/26] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for i386 Compiling test.pas Linking test C:\FPC\2.0.2\lib\i386-linux\/libdl.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libdl.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libc.so: undefined reference to [EMAIL PROTECTED]' C:\FPC\2.0.2\lib\i386-linux\/libdl.so: undefined reference to [EMAIL PROTECTED]' testthreads.pas(37,1) Error: Error while linking Error: c:\FPC\2.0.2\bin\i386-Win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled) while nm -D ld-linux.so.2 e6a0 T ___tls_get_addr 00015f1c D __libc_enable_secure 000101b0 W __libc_memalign 00015f18 D __libc_stack_end de70 T __tls_get_addr e610 T _dl_allocate_tls e3f0 T _dl_allocate_tls_init 00015e8c D _dl_argv e640 T _dl_deallocate_tls c450 T _dl_debug_state e330 T _dl_get_tls_static_info ec60 T _dl_make_stack_executable db30 T _dl_mcount 00012258 R _dl_out_of_memory 6840 T _dl_rtld_di_serinfo e1f0 T _dl_tls_setup 000164e4 B _r_debug 00016020 D _rtld_global 00015cc0 D _rtld_global_ro 000103d0 W calloc fda0 W free A GLIBC_2.0 A GLIBC_2.1 A GLIBC_2.3 A GLIBC_PRIVATE 000102f0 W malloc 00010320 W realloc the difference in the symbols is only the '@GLIBC...' part. I have no problem linking the same code on Linux, on the very same system the libs came from. I can link statically ( with -Xt), however. Dominique. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re[2]: [fpc-pascal] X Windows and FPC
Hello Graeme, Friday, July 28, 2006, 12:16:00 PM, you wrote: GG> I will start the translation - just wanted to know if it would GG> actually be worth the effort. I couldn't judge before, because I GG> couldn't understand the content. GG> Would you mind if a asked you a few things in case AltaVista didn't do GG> a good job with the translation and I couldn't figure it out myself? Just in case, I (natively) speak Russian too :) Feel free to ask if you have any questions. -- Best regards, Alexey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: Re[2]: [fpc-pascal] X Windows and FPC
On 7/28/06, Alexey Pavluchenko <[EMAIL PROTECTED]> wrote: GG> Would you mind if a asked you a few things in case AltaVista didn't do GG> a good job with the translation and I couldn't figure it out myself? Just in case, I (natively) speak Russian too :) Feel free to ask if you have any questions. Thanks for the offer Alexey. I will definitely contact one of you in case I get stuck. Regards, - Graeme - -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: Re[2]: [fpc-pascal] X Windows and FPC
On Fri, 28 Jul 2006, Graeme Geldenhuys wrote: On 7/28/06, Alexey Pavluchenko <[EMAIL PROTECTED]> wrote: GG> Would you mind if a asked you a few things in case AltaVista didn't do GG> a good job with the translation and I couldn't figure it out myself? Just in case, I (natively) speak Russian too :) Feel free to ask if you have any questions. Thanks for the offer Alexey. I will definitely contact one of you in case I get stuck. Careful, Alexey is apparently from Ukraine, and speaking Russian in the Ukraine can be considered harmful for his health under the current government ;-) (just kidding, I'm sure there is no danger provided you don't discuss terrorism ;)) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Hi all, On 7/28/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >From my point of view it is worth it - it would be great material to help in creating a LCL widget set on top of X, but the question is who has the time for this... I certainly don't :( What happened to the fpGui and fpGfx projects? I thought (back then) they were coming along nicely. Ever since I saw Pixel, I've been constantly bugging Pavel Kanzelsberger to release eLiquid but so far no luck. He is too busy with Pixel :-( Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling from win32 to i386-linux and libc linking
On Fri, Jul 28, 2006 at 11:54:07AM +0200, Dominique Leducq wrote: > > I have linking problems when cross-compiling from win32 to i386-linux > and linking with libc (dynamically). > I use FPC 2.0.2, the libs are from a Debian Sarge (glibc-2.3.6, I tried > with glibc 2.3.2 with same results), > cross ld is : > ld.exe -V > GNU ld version 2.15 > Supported emulations: >elf_i386 >i386linux I don't have time to debug this fully, but have a look at my notes when I was trying this: http://www.stack.nl/~marcov/crossnotes.txt Note that I set it the dynlinker explicitely in point 11 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On 7/28/06, Krishna <[EMAIL PROTECTED]> wrote: What happened to the fpGui and fpGfx projects? I thought (back then) they were coming along nicely. The first version of my widget set was based around a heavily modified LPTK. I then discovered the discontinued fpGUI and fpGFX projects. I tried to contact the original author to no avail. The fpGUI code hasn't been touched since early 2002. After studying the code for a few weeks, I came to the conclusion that fpGUI is much closer to what I strived to accomplish with my modified LPTK. A lot was still missing from fpGUI though. After a long and hard think, I decided to start my widget set again, but this time based on the work done in fpGUI and fpGFX (after all, why reinvent the wheel). I also added to the mix some good ideas I saw in Qt. So far I have completed quite a few things missing in fpGUI and created a TODO list of things outstanding which should get it to a usable level. I also added a lot of documentation as I go (hell yeah, a programmer that documents... smile) as there was no documentation included with fpGUI and fpGFX. So I guess you can say I am doing a version 2 of fpGUI. :-) Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Hi Graeme, Why don't you release the code yet? Put a notification somewhere on the wiki with a download link, or even better ask nicely to the Lazarus or FPC crew to add it to SVN as a subproject. I'm shure they don't mind ;) Perhaps one or two will join you and you will get more done in less time. Darius - Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 1:44 PM Subject: Re: [fpc-pascal] X Windows and FPC On 7/28/06, Krishna <[EMAIL PROTECTED]> wrote: What happened to the fpGui and fpGfx projects? I thought (back then) they were coming along nicely. The first version of my widget set was based around a heavily modified LPTK. I then discovered the discontinued fpGUI and fpGFX projects. I tried to contact the original author to no avail. The fpGUI code hasn't been touched since early 2002. After studying the code for a few weeks, I came to the conclusion that fpGUI is much closer to what I strived to accomplish with my modified LPTK. A lot was still missing from fpGUI though. After a long and hard think, I decided to start my widget set again, but this time based on the work done in fpGUI and fpGFX (after all, why reinvent the wheel). I also added to the mix some good ideas I saw in Qt. So far I have completed quite a few things missing in fpGUI and created a TODO list of things outstanding which should get it to a usable level. I also added a lot of documentation as I go (hell yeah, a programmer that documents... smile) as there was no documentation included with fpGUI and fpGFX. So I guess you can say I am doing a version 2 of fpGUI. :-) Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpcmake questions
Is there somewhere a description on how to use environment variables in FPCMake? I've been searching the programmers manual, but no success. Also is it possible to use a config file to declare some variables? Darius - Original Message - From: "Darius Blaszijk" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 9:24 AM Subject: [fpc-pascal] fpcmake questions I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpc Error: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
My first thought was to get a few more things done before releasing any code. I would like to get a solid base for others to start on. Also I want to get a few more themes, demos and documentation completed. The widget set will be used for my next company project, so I need to get a move on. The project must be completed in a year and will also be an excellent testbed for the widget set under Linux and Windows. For now I will keep hosting the project on my server as I do frequent updates, but maybe posting a notification somewhere on a wiki with some screenshots and feature list might not be a bad idea. Start fishing for some potential developers... :-) Regards, Graeme. On 7/28/06, Darius Blaszijk <[EMAIL PROTECTED]> wrote: Hi Graeme, Why don't you release the code yet? Put a notification somewhere on the wiki with a download link, or even better ask nicely to the Lazarus or FPC crew to add it to SVN as a subproject. I'm shure they don't mind ;) Perhaps one or two will join you and you will get more done in less time. Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpcmake questions
I only went with what I found in the FPC documentation. I am very new to FPCMake as well. Regards, Graeme. On 7/28/06, Darius Blaszijk <[EMAIL PROTECTED]> wrote: Is there somewhere a description on how to use environment variables in FPCMake? I've been searching the programmers manual, but no success. Also is it possible to use a config file to declare some variables? Darius -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Hi Graeme, On 7/28/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: For now I will keep hosting the project on my server as I do frequent updates, but maybe posting a notification somewhere on a wiki with some screenshots and feature list might not be a bad idea. Start fishing for some potential developers... :-) Do you have a snapshot that I can pull and try it out? Also some screenshots please... :) Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling from win32 to i386-linux and libc linking
Marco van de Voort a écrit : On Fri, Jul 28, 2006 at 11:54:07AM +0200, Dominique Leducq wrote: I have linking problems when cross-compiling from win32 to i386-linux and linking with libc (dynamically). I use FPC 2.0.2, the libs are from a Debian Sarge (glibc-2.3.6, I tried with glibc 2.3.2 with same results), cross ld is : ld.exe -V GNU ld version 2.15 Supported emulations: elf_i386 i386linux I don't have time to debug this fully, but have a look at my notes when I was trying this: http://www.stack.nl/~marcov/crossnotes.txt Note that I set it the dynlinker explicitely in point 11 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal Thank you for your prompt answer. I tried to set the dynamic linker whith the -FL option too, but it didn't help. Anyway, it seems to be a runtime hint, as you give a target path as an argument, and I don't get the chance to reach this step, as I can't produce any executable. I read your doc, and didn't see anything else that could improve the matters. Dominique. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
I will create a web page containing info on the project and post a link during the weekend to the mailing list. Regards, Graeme. On 7/28/06, Krishna <[EMAIL PROTECTED]> wrote: Hi Graeme, On 7/28/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > For now I will keep hosting the project on my server as I do frequent > updates, but maybe posting a notification somewhere on a wiki with > some screenshots and feature list might not be a bad idea. Start > fishing for some potential developers... :-) Do you have a snapshot that I can pull and try it out? Also some screenshots please... :) Cheers, Krishna ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Am Freitag, den 28.07.2006, 11:16 +0200 schrieb Graeme Geldenhuys: > I am currently busy creating a FPC widget set (based on Qt, fpGUI and > lptk), hence my interest in this document. The widget set uses > Windows GDI and XLib directly, no underlying 3rd party widget set > requirements. Integration with Lazarus will have to wait until the > widget set is more robust, but that is one of my goals. It is not specifically pascal, but the X distribution itself contains a good set of documentation (maybe optionally installed), on my local machine it is found there: $ ls /usr/X11R6/share/doc/X11/PostScript/ DPMS.ps ctlseqs.ps shapelib.ps DPMSLib.ps ddx.ps tog-cup.ps ICElib.ps evi.ps widgets.ps LocaleDB.ps fontlib.ps xc-misc.ps SMlib.psfsproto.ps xdmcp.ps XIMTransport.ps i18nFramework.psxfs-design.ps XiLib.psicccm.psxim.ps XiPorting.psice.ps xlfd.ps XiProtocol.ps intrinsics.ps xlib.ps Xtrans.ps mit-shm.ps xmu.ps appgroup.ps proto.psxsmp.ps bdf.ps record.ps xtest.ps bigreq.ps recordlib.psxtestlib.ps buffer.ps rstart.ps ctext.psshape.ps Especially the documents "intrinsics.ps", "proto.ps" and "xlib.ps" may be of some interest for you AFAIR. HTH, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Thanks Marc... My current source of documentation has been the Man pages for XLib on some internet website. Other than that, Google is my friend! Maybe installing the complete X11 Dev man pages locally is a good idea. Regards, Graeme. On 7/28/06, Marc Santhoff <[EMAIL PROTECTED]> wrote: Am Freitag, den 28.07.2006, 11:16 +0200 schrieb Graeme Geldenhuys: > I am currently busy creating a FPC widget set (based on Qt, fpGUI and > lptk), hence my interest in this document. The widget set uses > Windows GDI and XLib directly, no underlying 3rd party widget set > requirements. Integration with Lazarus will have to wait until the > widget set is more robust, but that is one of my goals. It is not specifically pascal, but the X distribution itself contains a good set of documentation (maybe optionally installed), on my local machine it is found there: $ ls /usr/X11R6/share/doc/X11/PostScript/ DPMS.ps ctlseqs.ps shapelib.ps DPMSLib.ps ddx.ps tog-cup.ps ICElib.ps evi.ps widgets.ps LocaleDB.ps fontlib.ps xc-misc.ps SMlib.psfsproto.ps xdmcp.ps XIMTransport.ps i18nFramework.psxfs-design.ps XiLib.psicccm.psxim.ps XiPorting.psice.ps xlfd.ps XiProtocol.ps intrinsics.ps xlib.ps Xtrans.ps mit-shm.ps xmu.ps appgroup.ps proto.psxsmp.ps bdf.ps record.ps xtest.ps bigreq.ps recordlib.psxtestlib.ps buffer.ps rstart.ps ctext.psshape.ps Especially the documents "intrinsics.ps", "proto.ps" and "xlib.ps" may be of some interest for you AFAIR. HTH, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] crosscompiling from win32 to i386-linux and libc linking
> > > > ___ > > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > Thank you for your prompt answer. > I tried to set the dynamic linker whith the -FL option too, but it > didn't help. Anyway, it seems to be a runtime hint, as you give a target > path as an argument, and I don't get the chance to reach this step, as > I can't produce any executable. > > I read your doc, and didn't see anything else that could improve the > matters. Also note step 8 it is very treacherous. The 10th step can nowdays (all versions after medium july) be done by passing -XLAc=c,dl and -XLAgtk=gmodule,gtk or so. Same for step 12. Note that in the 10th step I do three things, IIRC - The -FL sets the place where the loader on the target should look for the dnyamic linker. - The -Xr causes it to also search /usr/lib for anything it needs. - The -Fl points to the directory where I stored the copies of the libs. Note that I sometimes renamed the copied libs a bit to match the names it searches. Also note this remark: Making mistakes with renaming is not that bad, there will be chances to fix it. Make sure all crt* and a file "libc.so" are available, otherwise generating link.res will go wrong. (Yes, Peter, that was my fault :-) In case you added parameter by parameter, clean, and try to build again with all relevant parameters. The compiler on Linux makes some decisions based on the existance of some of these files. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Am Freitag, den 28.07.2006, 16:21 +0200 schrieb Graeme Geldenhuys: > Thanks Marc... My current source of documentation has been the Man > pages for XLib on some internet website. Other than that, Google is > my friend! Maybe installing the complete X11 Dev man pages locally is > a good idea. These are *not* man pages but really well done "article"- or "report"-style docs. Get one of them (from the CVS of X[.org|free86] ?) and see for yourself. If you like to. ;) Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Thanks, will do... Graeme. On 7/28/06, Marc Santhoff <[EMAIL PROTECTED]> wrote: Am Freitag, den 28.07.2006, 16:21 +0200 schrieb Graeme Geldenhuys: > Thanks Marc... My current source of documentation has been the Man > pages for XLib on some internet website. Other than that, Google is > my friend! Maybe installing the complete X11 Dev man pages locally is > a good idea. These are *not* man pages but really well done "article"- or "report"-style docs. Get one of them (from the CVS of X[.org|free86] ?) and see for yourself. If you like to. ;) Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On 7/28/06, Marc Santhoff <[EMAIL PROTECTED]> wrote: Am Freitag, den 28.07.2006, 16:21 +0200 schrieb Graeme Geldenhuys: > Thanks Marc... My current source of documentation has been the Man > pages for XLib on some internet website. Other than that, Google is > my friend! Maybe installing the complete X11 Dev man pages locally is > a good idea. These are *not* man pages but really well done "article"- or "report"-style docs. Get one of them (from the CVS of X[.org|free86] ?) and see for yourself. They normally get installed with the X11 dev packages. No? Graeme, you can also use SDL as a portable windowing system. The upside is you get a lot of flexibility with the passing of events (eg: you can pass it down the widget tree) . The downside is sometimes the apps look imprisoned inside the SDL window especially in the presence of a floating tool bar. Pixel though looks great on three major platforms :) Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
On Friday 28 July 2006 11:16, Graeme Geldenhuys wrote: > I am currently busy creating a FPC widget set (based on Qt, fpGUI and > lptk), hence my interest in this document. The widget set uses > Windows GDI and XLib directly, no underlying 3rd party widget set > requirements. Integration with Lazarus will have to wait until the > widget set is more robust, but that is one of my goals. What are your thoughts on msegui, also a gui library on top of xlib and gdi ? It would be nice if an xlib expert would join Martin :-) kind regards, Den Jean ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
Graeme, you can also use SDL as a portable windowing system. The upside is you get a lot of flexibility with the passing of events (eg: Is that what eLiquid and Pixel uses? Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] X Windows and FPC
What are your thoughts on msegui, also a gui library on top of xlib and gdi ? To be honest, I haven't really looked at it much... maybe I should look at it again. The bit I did see, it looked to alien (different) compared to the native looks on different platforms. It does support themeing, so that might be able to sort that problem. The other thing is that I really like Lazarus. I feel very at home with it, as I come from a Delphi background. As I mentioned earlier, I have a long term goal of incorporating my widget set into Lazarus. The way msegui was designed (not based on VCL at all - which is not a bad thing in itself) it will be a nightmare to try and integrate into Lazarus. One thing I can say - I take my hat off for Martin and what he has accomplished all on his own. Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: X Windows and FPC
On 7/28/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Graeme, you can also use SDL as a portable windowing system. The > upside is you get a lot of flexibility with the passing of events (eg: Is that what eLiquid and Pixel uses? Yes! . I think that is one reason why Pixel is able to run on so many platforms (fpc is another ;) ) Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: X Windows and FPC
On 7/28/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: One thing I can say - I take my hat off for Martin and what he has accomplished all on his own. The feature list is impressive indeed. Downloaded and tried the win32 version. On a 1280x1024 screen, the widgets look very small and the widget colors looks very dull in comparison with other controls on XP. Martin, how difficult it is to change the looks? Personally, I like the BeOS look. Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal