Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginner :- understanding question ?

Status
Not open for further replies.

Mauric

Technical User
Feb 18, 2003
72
CH
to understanding for me ....

i have now compiled Binutils 2.16 and this it´s installed to /usr/local/bin/

if i compile any thing, solaris works with the following Path /usr/ccs/bin/
and the new compiled binutils are not integrated,

how i can change this path ?, or its better i take both versions separate ?,
for exmp. /usr/ccs/bin/as = Solaris and /usr/local/bin/as = GNU,
or i need to make symbolic links from /usr/local/bin/ to /usr/ccs/bin

or its this the problem,
i had compiled gcc with the wrong config settings ?

# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c+ : (reconfigured) ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2

thanks for any feedback
mauric
 
shell: usually the environment Variable PATH defines, which executable is used (depending on the path's position in PATH)

makefile: the makefile may define a few Variables like MY_AS, MY_LD or sth. check the makefile.

Please use other subjects like: linker problem, compiler vs. searchpath. Subjects like: "interesting question" or "hell! Can anybody help" are bad subjects in (any) Forum



Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top