22.01.2013 16:32 полÑзоваÑÐµÐ»Ñ "Salil Wadnerkar" <rohsh...@gmail.com> напиÑал: > > Thanks Peter. I found that many autotools packaged programs out there > expect newer gcc environments. > So, when I run > ./configure > make > make install > most of the time, make fails because the system gcc toolchain is old. > I tried using a newer toolchain by setting the environment variables: > export CC=egcc > export CPP=egcc-cpp > export MAKE=gmake > But, libtool is picked up from the /usr/bin instead of /usr/local/bin. > > Can somebody guide me about how I can use the sandboxed gcc environment to > build programs?
Probably it's easier to create ports, then Ports framework will care about most problems you're fighting now, including libtool. Take a look at http://www.openbsd.org/porting.html , especially checklist and GNU specifics sections. > On Tue, Jan 22, 2013 at 5:43 PM, Peter Hessler <phess...@openbsd.org> wrote: > > > On 2013 Jan 22 (Tue) at 17:37:18 +0800 (+0800), Salil Wadnerkar wrote: > > :Hi, > > : > > :Some programs like smlnj, which is SML by New Jersey, support only 32-bit > > :binaries. On Linux distros, I can use gcc multilib support. How do I do > > :that in OpenBSD? > > > > OpenBSD does not support multilib, and has no intention to. > > > > Fix the code so it works on 64bit systems. > > > > -- > > The National Short-Sleeved Shirt Association says: > > Support your right to bare arms!