Re: gcc



On Wed, 21 May 2008, migurus wrote:
I have OSR507 with MP5. I need to compile on this box, so I downloaded
and installed gcc and gnu make from ftp2.caldera.com/skunkware.

So, I have

GNU make (ver 3.78.1)
Gcc - GNU Compiler Collection (ver 2.95.2)

What is your PATH and LD_LIBRARY_PATH.

I have this in my .profile

[ -d /usr/local/bin -a -x /usr/local/bin ] && PATH=$PATH:/usr/local/bin
[ -d /usr/gnu/bin -a -x /usr/gnu/bin ] && PATH=$PATH:/usr/gnu/bin
PATH=$PATH:$HOME/bin:. # set command search path
export PATH

[ -d /usr/local/lib -a -x /usr/local/lib ] && LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
[ -d /usr/gnu/lib -a -x /usr/gnu/lib ] && LD_LIBRARY_PATH=/usr/gnu/lib:$LD_LIBRARY_PATH
[ -d /usr/X11R6/lib -a -x /usr/X11R6/lib ] && LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

With the above every thing works for me.
--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
.



Relevant Pages

  • gcc
    ... I need to compile on this box, ... and installed gcc and gnu make from ftp2.caldera.com/skunkware. ...
    (comp.unix.sco.misc)
  • Re: gcc
    ... and installed gcc and gnu make from ftp2.caldera.com/skunkware. ... I have this in my .profile ... lib in the compilation settings, ...
    (comp.unix.sco.misc)
  • Re: silverfrost IDE
    ... It used to be the name of the Gnu C compiler. ... but separate from the Gnu Compiler Collection. ... confuse the two, which causes, well... ...
    (comp.lang.fortran)