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: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: ccc linking errors Date: 2000/05/27 Message-ID: <8gp7lq$kmi$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 628036645 References: <392F0645.D45F4750@saunalahti.fi> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha 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