[fpc-devel]IOI2002: FPC 1.0.6 <--> RHIDE broken
Pierre Muller
pierre at freepascal.org
Wed May 22 18:34:26 CEST 2002
At 02:22 17/05/2002 , vous avez écrit:
>I am currently in Korea at the Review Meeting in preparation
>for IOI2002, which will take place in August this year. Also see
>
> http://olympiads.win.tue.nl/ioi/
>
>Almost 80 countries are expected to participate in this
>big competition, bringing the total number of competitors
>to some 300. FreePascal is going to be used as one of the compilers.
>
>It has now come to my attention that the newly
>released FPC 1.0.6 no longer works with RHIDE (neither 1.4.9,
>nor 1.5 snapshot). This is a BIG concern, because the fpIDE
>is not stable enough.
>
>I offer 100 euro for quickly repairing this. It is most
>likely something in FreePascal, because FPC 1.0.4 does work
>with RHIDE. Maybe it is a linking issue. (Note: We may
>still have to negotiate what it means that this is repaired,
>please take this up with me.)
>
>For your information, the platforms to be used at IOI2002 are
>
> * Debian Linux (Woody 3.0)
For the linux case,
I tested it with the latest test snapshot of www.rhide.com
rhide 1.5 from 14 april 2002
with GDB 5.1.1
It works if you add these lines to rhide.env
RHIDE_FPC_FLAGS=$(C_FPC_LANG_FLAGS) $(LOCAL_OPT) $(addprefix -Fu,$(INCLUDE_DIRS)) $(addprefix -Fl,$(LIB_DIRS)) $(addprefix -Fo,$(OBJ_DIRS)) $(addprefix -Fu,$(SRC_DIRS)) $(C_EXTRA_FLAGS) -vR
RHIDE_COMPILE_LINK_FPC_AUTOMAKE=$(RHIDE_FPC) -o$(OUTFILE) $(SOURCE_NAME) $(RHIDE_FPC_FLAGS) -E-
RHIDE_LD_FPC=$(RHIDE_FPC) -E-
Note that these should be on only three lines,
each line beginning with RHIDE_???=
but might appear in more lines in your mail.
The two major problems where that -E option is
wrongly used in the default rhide environment variable
(-E+ means don't link now, but the reverse is assumed in rhide's default)
The obsolete -Up option is still used in default rhide environment version,
-Fu must now be used instead.
Nevertheless, I still think that Rhide is less appropriate than linux fp for debugging
because you can't set the terminal on which the debugge gets input and output
(while this can be set easily with the -T option for fp).
Do you run rhide on a console or under X?
> * Windows XP
For XP, the problem might be a bit more difficult to solve,
as I already explained in my previous answer.
More information about the fpc-devel
mailing list