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

See the CrossGCC FAQ for lots more information.


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

Re: Building GCC 2.95.2 for VxWorks (powerpc)


%% Ryan Maples <rmaples@sigint.com> writes:

  rm> I have this same setup and have developed a shell script to build
  rm> the tool set for me.

Cool.  I'll take a look at your script; offhand it doesn't seem much
different than what I did except for the --with-newlib stuff.

I was able to get things to build, although I had to hack a few files
(see my other posts).  I will almost definitely end up rebuilding the
cross-compiler again, though, to clean things up.

Were you able to build without changing _any_ files, including the
fdmatch bug and the collect2 stuff, and have it all work?

  rm> 6.1.  Note. The --with-newlib does not really install or use
  rm> newlib.  As you can see by the fact that the script does not build
  rm> or install the software.  The software sources for newlib do not
  rm> even exist on the machine I build on.

Then can you tell me why you include --with-newlib?

What does this flag do for the configure and why is it used/needed?

That would be most helpful.  Thanks!

  rm> The C++ compiler has built successfully many times but I have
  rm> never tried to cross compile C++ code for my target.

Ah, this probably explains why you don't need to modify the collect2
stuff.  Only if you did use C++, would you run into this problem.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>    HASMAT--HA Software Methods & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

------
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]