Recent

Author Topic: fpc fedora debian problem  (Read 4209 times)

weq

  • New member
  • *
  • Posts: 6
fpc fedora debian problem
« on: April 17, 2010, 01:12:38 pm »
Hello,
I know that this forum is about lazarus, but because i have fpc related problem maybe someone could help me? I hope it some kind of noob problem.
I compile my project on fedora and it works perfectly. It also works on completely other fedora machine (university server). But it hangs on ubuntu 10.04 9.10 and debian. Maybe some simple switch in compilation?
Now it looks like this:
Quote
fpc program.pas -oprogram -S2 -Sg -v0 -Un -O1 -Op1 -gl -Fu/usr/lib/fpc/2.2.4/units/ -Fu/usr/lib/fpc/2.2.4/units/rtl/  -Fl/usr/lib/fpc/2.2.4/units/ -Fl/usr/lib/fpc/2.2.4/units/rtl/ -FD/usr/lib/fpc/2.2.4/ -Tlinux

Thanks for your time :)
Weq

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1923
Re: fpc fedora debian problem
« Reply #1 on: April 17, 2010, 06:28:27 pm »
This is not enough information. What does it mean "it hangs"?
Is it a console program or a lazarus application?
What is the program using? Which components? Threads? etc.
Is there any error message? What does the debugger say?


weq

  • New member
  • *
  • Posts: 6
Re: fpc fedora debian problem
« Reply #2 on: April 17, 2010, 06:53:39 pm »
Mu fault.
Testers reports that "it does nothing and takes 100% CPU" - it is a console program, text based game (fpc comes from free pascal distribution installed with yum). No threads, no nothing - at least nothing advanced like threads. No error messages.
Debugger? I dont have access to debian/ubuntu machines nor i can install there fpc. I'll try to find one, but it takes a few days.
Thanks
Weq

PS. It is win32 version ported to linux. With very little changes done, for example no addtional libraries has been used.

weq

  • New member
  • *
  • Posts: 6
Re: fpc fedora debian problem
« Reply #3 on: April 21, 2010, 05:43:13 pm »
ok Solved

 

TinyPortal © 2005-2018