gm2
[Top][All Lists]
Advanced

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

[Gm2] compiler options


From: SiTex Graphics
Subject: [Gm2] compiler options
Date: Tue, 4 May 2010 14:09:39 -0400

Hi Gaius,

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

2.  With the April 13 CVS, gm2 doesn't seem to recognize any of

-fno-nil
-fno-wholediv
-fno-index
-fno-range

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

/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




reply via email to

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