gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] compiler options


From: Gaius Mulley
Subject: Re: [Gm2] compiler options
Date: Wed, 05 May 2010 18:32:54 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

SiTex Graphics <address@hidden> writes:

> Hi Gaius,
>
> 1.  What compiler options are enabled by default (if any)?  (e.g.
> -fcheckall etc)

Hi Scott,

by default all checking is off.  The only options which are true are
enable exception handling, enable pim libraries and pim4 language.

>
> 2.  With the April 13 CVS, gm2 doesn't seem to recognize any of
>
> -fno-nil
> -fno-wholediv
> -fno-index
> -fno-range

ahh yes - thanks - will fix these missing negative options.

> 3.  gm2 does recognize -fcheckall, but the linker returns a bunch of
> errors:

yes '-fcheck-all' will turn on all of:

   NilChecking
   WholeDivChecking 
   WholeValueChecking
   IndexChecking 
   RangeChecking 
   ReturnChecking 
   NilChecking 
   CaseElseChecking


> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text._M2_M2RTS_init+0x0):
> In function `ErrorMessageColumn':
> ../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/M2RTS.mod:426:
> multiple definition of `_M2_M2RTS_init'
> /tmp/ccCms2HC.a(M2RTS.o)(.text._M2_M2RTS_init+0x0):../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/M2RTS.mod:410:
> first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text._M2_M2RTS_finish+0x0):
> In function `_M2_M2RTS_finish':
> : multiple definition of `_M2_M2RTS_finish'
> /tmp/ccCms2HC.a(M2RTS.o)(.text._M2_M2RTS_finish+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_HALT+0x0):
> In function `M2RTS_HALT':
> : multiple definition of `M2RTS_HALT'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_HALT+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_Terminate+0x0):
> In function `M2RTS_Terminate':
> : multiple definition of `M2RTS_Terminate'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_Terminate+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_Halt+0x0):
> In function `M2RTS_Halt':
> : multiple definition of `M2RTS_Halt'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_Halt+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ErrorMessage+0x0):
> In function `M2RTS_ErrorMessage':
> : multiple definition of `M2RTS_ErrorMessage'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ErrorMessage+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ExitOnHalt+0x0):
> In function `M2RTS_ExitOnHalt':
> : multiple definition of `M2RTS_ExitOnHalt'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ExitOnHalt+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_InstallTerminationProcedure+0x0):
> In function `M2RTS_InstallTerminationProcedure':
> : multiple definition of `M2RTS_InstallTerminationProcedure'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_InstallTerminationProcedure+0x0):
> first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_StaticArraySubscriptException+0x0):
> In function `M2RTS_StaticArraySubscriptException':
> : multiple definition of `M2RTS_StaticArraySubscriptException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_StaticArraySubscriptException+0x0):
> first d efined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_IncException+0x0):
> In function `M2RTS_IncException':
> : multiple definition of `M2RTS_IncException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_IncException+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_IsTerminating+0x0):
> In function `M2RTS_IsTerminating':
> : multiple definition of `M2RTS_IsTerminating'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_IsTerminating+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_HasHalted+0x0):
> In function `M2RTS_HasHalted':
> : multiple definition of `M2RTS_HasHalted'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_HasHalted+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_Length+0x0):
> In function `M2RTS_Length':
> : multiple definition of `M2RTS_Length'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_Length+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_DynamicArraySubscriptException+0x0):
> In function `M2RTS_DynamicArraySubscriptException':
> : multiple definition of `M2RTS_DynamicArraySubscriptException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_DynamicArraySubscriptException+0x0):
> firstdefined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_AssignmentException+0x0):
> In function `M2RTS_AssignmentException':
> : multiple definition of `M2RTS_AssignmentException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_AssignmentException+0x0): first
> defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_DecException+0x0):
> In function `M2RTS_DecException':
> : multiple definition of `M2RTS_DecException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_DecException+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_InclException+0x0):
> In function `M2RTS_InclException':
> : multiple definition of `M2RTS_InclException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_InclException+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ExclException+0x0):
> In function `M2RTS_ExclException':
> : multiple definition of `M2RTS_ExclException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ExclException+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ForLoopBeginException+0x0):
> In function `M2RTS_ForLoopBeginException':
> : multiple definition of `M2RTS_ForLoopBeginException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ForLoopBeginException+0x0): first
> defined h ere
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ForLoopToException+0x0):
> In function `M2RTS_ForLoopToException':: multiple definition of
> `M2RTS_ForLoopToException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ForLoopToException+0x0): first
> defined 
> here/home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_ForLoopEndException+0x0):
> In function `M2RTS_ForLoopEndException':
> : multiple definition of `M2RTS_ForLoopEndException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_ForLoopEndException+0x0): first
> defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_PointerNilException+0x0):
> In function `M2RTS_PointerNilException':
> : multiple definition of `M2RTS_PointerNilException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_PointerNilException+0x0): first
> defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_NoReturnException+0x0):
> In function `M2RTS_NoReturnException':
> : multiple definition of `M2RTS_NoReturnException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_NoReturnException+0x0): first
> defined 
> here/home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_CaseException+0x0):
> In function `M2RTS_CaseException':
> : multiple definition of `M2RTS_CaseException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_CaseException+0x0): first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_WholeNonPosDivException+0x0):
> In function `M2RTS_WholeNonPosDivException':
> : multiple definition of `M2RTS_WholeNonPosDivException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_WholeNonPosDivException+0x0):
> first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_WholeNonPosModException+0x0):
> In function `M2RTS_WholeNonPosModException':
> : multiple definition of `M2RTS_WholeNonPosModException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_WholeNonPosModException+0x0):
> first defined here
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_WholeZeroDivException+0x0):
> In function `M2RTS_WholeZeroDivException':
> : multiple definition of `M2RTS_WholeZeroDivException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_WholeZeroDivException+0x0): first
> defined h ere
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_WholeZeroRemException+0x0):
> In function `M2RTS_WholeZeroRemException':
> : multiple definition of `M2RTS_WholeZeroRemException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_WholeZeroRemException+0x0): first
> defined h ere
> /home/bryan/opt/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/gm2/iso/libgm2iso.a(M2RTS.o)(.text.M2RTS_NoException+0x0):
> In function `M2RTS_NoException':
> : multiple definition of `M2RTS_NoException'
> /tmp/ccCms2HC.a(M2RTS.o)(.text.M2RTS_NoException+0x0): first defined here
> collect2: ld returned 1 exit status
>
> -Scott

ok - very odd - could you email me the output of the link command with
the '-v' option?

thanks,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]