From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b1ad78ca8818360f X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: ccc linking errors Date: 2000/05/28 Message-ID: <39309E5D.6D8CE07C@kc.rr.com>#1/1 X-Deja-AN: 628150276 Content-Transfer-Encoding: 7bit References: <392F0645.D45F4750@saunalahti.fi> <8gp7lq$kmi$1@pulp.srv.ualberta.ca> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon.kc.rr.com 959487582 24.94.177.44 (Sat, 27 May 2000 23:19:42 CDT) MIME-Version: 1.0 Reply-To: thammitt@kc.rr.com NNTP-Posting-Date: Sat, 27 May 2000 23:19:42 CDT Newsgroups: comp.os.linux.alpha 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