Re: [Gtk2forpascal-devel] Examples and menu problems
Brought to you by:
mgaertner
|
From: Tomas B. <tb...@po...> - 2002-08-05 17:51:02
|
Thanks, i will look at it.
And what about the next problem, please? (the linking is not necessary
at the moment).
On Sun, 2002-08-04 at 10:44, Mattias Gaertner wrote:
I assume that your libs are not corrupted.
The compilation is correct and so is compile_with_fpc_under_linux.sh.
So, you still get the wrong linking order.
Try to link manually:
Compile your program with a small bug to stop the linker:
ppc386 -Fu<gtk2_ppu_directory> -k-lboguslib <yourprogram>.pas
This should result in a linker error, such as
Can't find -lboguslib
Now you should have a 'ppas.sh' and a 'link.res' file, created by the compiler. Normally these files are deleted on successful linking.
Remove the '-lboguslib' from ppas.sh to get a working script.
Calling ./ppas.sh should link the buggy program that you know.
Now edit link.res and play around with the order of the libs. Call ppas.sh and start your program to see the result. For example put the ld-linux to the top.
Can you send the link.res?
Mattias
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Gtk2forpascal-devel mailing list
Gtk...@li...
https://lists.sourceforge.net/lists/listinfo/gtk2forpascal-devel
----------------
Tomas Bzatek
|