prasad svr wrote:
Hi, After igave `-mlp64' flag iam getting an error like this
<snip>
../.././xgpc -B../.././ -c -I. -W -Wall -Wmissing-prototypes -Wmissing-declarat ions -mlp64 --unit-path=/gcc/gcc-3.4.3/gcc/p/rts --automake `cat needed-option s` -DRTS_RELEASE_STRING="'`cat /gcc/gcc-3.4.3/gcc/p/rts/rts-version`'" -DGCC_VER SION="'3.4.3'" --interface-only "/gcc/gcc-3.4.3/gcc/p/rts/error.pas" /gcc/gcc-3.4.3/gcc/p/rts/error.pas:267: error: module/unit interface `Heap' coul d not be imported make[2]: *** [stamp-error-gpi] Error 1 make[2]: Leaving directory `/gcc/gpcbuild/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/gcc/gpcbuild/gcc' make: *** [all-gcc] Error 2 #
can any one help on this.
`--interface-only' option on the command line means that gpc should compile only interface part of `error.pas' (skipping its main body). So, it again looks like problem with command line handling. AFAICS there is no easy workaround -- somebody has to do debugging at C level. ATM I can not say why the command line does not work: it may be some silly build problem (like strange locale setting), it may be unportable code in gpc, it may a bug in gcc (miscompiling gpc).