From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: ccc linking errors
Date: 2000/05/27 [thread overview]
Message-ID: <8gp7lq$kmi$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 392F0645.D45F4750@saunalahti.fi
h0l0gRaM (hgm@saunalahti.fi) wrote:
: I'm compiling mc-4.5.42 ,midnight commander ,with ccc
Unless this is considered a "learning experience" then one has
to ask what is the point in recompiling something like 'mc' with ccc?
This is an example of a program which spends practically all its time
waiting for a user input so it is not likely that a speed with
which is doing that is particularly relevant.
: util.o: In function `get_current_wd':
: :834: the `getwd' function is dangerous and should not be used.
^^^^^^^^^^^^^^
I would be more worried about that. This warning is correct.
: gtkdtree.o: In function `gtk_dtree_do_select_dir':
: :316: undefined reference to `alloca'
^^^^
In gcc 'alloca()' is usually a "builtin"; therefore it is ccc
responsibility to provide a replacement one way or another (as a builtin
or by providing a command to link with an appriopriate library). Is
this the current version of ccc and binary utilities? If this fails
then you should have big problems all over the place. In the worst
case find which library supplies a replacement alloca and add it to
a link list yourself.
Michal
next prev parent reply other threads:[~2000-05-27 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-27 4:00 ccc linking errors h0l0gRaM
2000-05-27 4:00 ` Tony Hammitt
2000-05-27 4:00 ` Michal Jaegermann [this message]
2000-05-28 4:00 ` Tony Hammitt
2000-05-29 4:00 ` Takeyasu Wakabayashi
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox