From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: ccc linking errors
Date: 2000/05/28 [thread overview]
Message-ID: <39309E5D.6D8CE07C@kc.rr.com> (raw)
In-Reply-To: 8gp7lq$kmi$1@pulp.srv.ualberta.ca
This is a learning experience =-]
We're trying to determine what packages can be compiled with
ccc/cxx as part of the feasability study portion of a ccc based
Linux distro. That and h0l0gRaM is trying to speed up an EV5/300
box.
I have several rpms built, but don't want to try to host a site
for them. My goal is to only modify the rpm spec file and get
the package to build. h0l0gRaM is building from .tar.gz files.
So, that's what's going on.
Regards,
Tony Hammitt
Michal Jaegermann wrote:
>
> 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-28 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
2000-05-28 4:00 ` Tony Hammitt [this message]
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