Hi
I am using root version 3.10/02. I need to use this older version because of compability issues with CMS software shared libraries.
I am running root on AMD64 bits, however I would like to compile my root macros in 32 bit mode , using -m32 flag, again because of compability issues.
Within root command prompt, I have run:
gSystem->GetMakeSharedLib()
(const char* 0x858682c)“cd $BuildDir ; g++ -c $Opt -pipe -Wall -W -Woverloaded-viles ; g++ $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib”
then I have included the -m32 flag:
gSystem->SetMakeSharedLib(“cd $BuildDir ; g++ -m32 -c $Opt -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -D_REENTRANT $IncludePath $SourceFiles ; g++ -m32 $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib”)
However, when trying to compile mymacro.cc using ACLiC I got:
.L mymacro.cc++
{standard input}: Assembler messages:
{standard input}:12: Error: suffix or operands invalid for push' {standard input}:16: Error: suffix or operands invalid for
push’
{standard input}:18: Error: suffix or operands invalid for push' {standard input}:22: Error: suffix or operands invalid for
pop’
{standard input}:23: Internal error, aborting at …/…/gas/config/tc-i386.c line 3500 in output_imm
Please report this bug.
Am I doing something wrong? Is there any other way to compile in 32 bits using ACLiC ?
Best Regards
Pedro Ribeiro