Re: [ooc-compiler] Installationproblem
Brought to you by:
mva
|
From: vedmed <ve...@in...> - 2004-09-30 04:39:11
|
Hello Marco,
Thursday, September 30, 2004, 3:45:44 AM, you wrote:
MO> I wanted to install oo2c 2.1.4 on a new machine today and I failed.
MO> I did not find help in PROBLEMS, INSTALL or README.
MO> I installed gc 6.3 alpha 6. Then ./configure in oo2c's directory works fine.
MO> I use enable-threads parameter. make leads to "undefined reference to '__compound_literal.7"
MO> and similar messages in stage0. The same happens with oo2c 2.1.3.
MO> The computer is a Via Mini-ITX based one. So this may be a reason.
MO> I installed SuSE 9.1 with gcc 3.3.3 and libtool 1.5.2. Kernel is 2.6.5.
MO> Does anyone have a clue?
I have the same problem on same system. gcc 3.3.3 fail to build oo2c
with -O2 try -O1 optimization as workaround.
gcc 3.3.3 on SuSE 9.1 can not build programs like following:
#include <stdio.h>
typedef struct StrDesc *Str;
typedef struct StrDesc {
Str *list;
} StrDesc;
static StrDesc str_a =
{
(Str[])
{
NULL
}
};
static StrDesc str_b =
{
(Str[])
{
&str_a
}
};
void dummy_mod(Str md)
{
};
void dummy() {
dummy_mod(&str_b);
}
int main()
{
return 0;
}
--
Best regards,
vedmed mailto:ve...@in...
|