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?

Thanks
Salil



On Tue, Jan 22, 2013 at 5:43 PM, Peter Hessler <[email protected]> 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!

Reply via email to