This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: : What is affected


"Davis, Harvey" <Harvey.Davis@dsto.defence.gov.au> wrote:

> If I download gcc, binutils, newlib and gdb and then recompile them for
> cross compilation use will my existing copies of gcc, glibc, binutils etc
> be modified in any way?

No. Cross tools have their name mangled at installation, e.g., for m68k-coff
you'll have m68k-coff-as, m68k-coff-ld, m68k-coff-gcc, etc. Target headers and
libraries are installed in specially named directories, e.g.,
/usr/local/m68k-coff/include and /usr/local/m68k-coff/lib, and the cross tools
know to look there and not in the native locations.

> Or will program I compile for ordinary use get
> confused and linked to the wrong libraries?????

No, this will never happen. Everything is arranged so that both native and
cross tools "just work" naturally and never conflict. This is a really
beautiful system.

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]