Forum > General

fpc fedora debian problem


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

--- End quote ---

Thanks for your time :)

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?

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.

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

ok Solved


[0] Message Index

Go to full version