To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 659
658  |  660
Subject: 
Re: Building gcc
Newsgroups: 
lugnet.robotics
Date: 
Fri, 20 Nov 1998 06:32:25 GMT
Original-From: 
W. Craig Trader <ct7@unicornsrest.org+AntiSpam+>
Viewed: 
1834 times
  
Sven Horstmann wrote:

The instructions I wrote up were for the GNU gcc distribution 2.8.1, not for
the cygnus distribution.  I haven't tried building the cygnus distribution,
so I don't know what the differences are.

Ah, I missed that part.  So crossgcc is a _patch_ that maybe affects how
the compiler does things, maybe or maybe not making it compile without the
header file mess.  And it probably makes gcc run correctly under (only?)
Cygwin.  Got it.

[Don't know if anybody out there is from Cygnus, but I think the Cygwin
stuff is pretty cool.  Anyone out there who doesn't know about it ought to
check it out.  http://www.cygnus.com/.]

Did you compile Cygwin32 for the H8 under Windows ?
I tried this but generating binutils didn't work, as there is a configure-script
that requires some kind of unix-like shell running (and you don't find that in a
dos-box), a configure.bat that calls sed and something called update (and there
is no sed under windows), and a configure.com which makes my printer go crazy
doing screen-dumps.

So i installed the precompiled cygwin32, which comes with an implementation of
bash and sed and all the other tools, and tried compiling the sources in that
environment, but even under that bash the configure-script does not run, as it
(bash) does not recognize scripts unless you call them with "source scriptname"
or ". scriptname" or "bash scriptname".

Does anybody know a feasible way to get that thing set up ?

It sounds like you don't have CygWin32 configured correctly.

Ideally you should have a directory "/bin" that has "sh.exe" in it.  If you have
that, then bash will run scripts correctly.  In my case, I ran "bash" then used
the "mount" command to mount the H-i386-cygwin32/bin directory as /bin.

Try it this way & let us know how it works out.

- Craig -

--
W. Craig Trader             | Excellence can be attained if you:
Production Manager          | Care more than others think is wise
Barking Mad Productions     | Risk more than others think is safe
mailto:ct7@unicornsrest.org | Dream more than others think is practical
http://www.unicornsrest.org | Expect more than others think is possible.



Message is in Reply To:
  Re: Building gcc
 
(...) I tried this but generating binutils didn't work, as there is a configure-script that requires some kind of unix-like shell running (and you don't find that in a dos-box), a configure.bat that calls sed and something called update (and there (...) (26 years ago, 19-Nov-98, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
20 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR