delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/22/08:15:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <803EBA39C2C5D211BCEE00805F85C0A5C885D1@mailhost>
From: "Boyer,Galen" <gboyer AT primix DOT com>
To: "'dony'" <dony DOT he AT huawei DOT com DOT cn>, "Boyer,Galen" <gboyer AT primix DOT com>
Cc: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Making GCC 2.95.2 Problems
Date: Tue, 22 Feb 2000 08:22:06 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

------_=_NextPart_000_01BF7D37.D0BF27C8
Content-Type: text/plain;
	charset="iso-8859-1"

I am sorry.  The link I referenced was from Earnie Boyd that I got from this
group a while back.  I spent a decent amount of time there in trying to set
up my directory structure and mounting the drives.  I followed the links at
http://sourceware.cygnus.com/cygwin/ to download gcc 2.95 and the available
instruction for setting this up for doing the configuring and making of gcc.
Earnie's page had a "good starting point" for my directory structure, but
nothing directly related to gcc.  I was pretty sure that I didn't have my
directories mounted correctly.  I wasn't trying anything fancy and the gcc
stuff wasn't working.  I was trusting that the gcc stuff would work if I
followed their instructions, so I was guessing that Cygnus was getting
confused with how I had set up my environment.

For Dony, the text file attached is Earnie's page that I was referencing.  I
also spent a good amount of time in
http://sourceware.cygnus.com/cygwin/cygwin-ug-net/cygwin-ug-net.html, which
you can follow links to from Earnie's page.  This is the Cygwin's users
guide.  Very informative as well.  Maybe I am not reading enough or putting
the correct readings together?



-----Original Message-----
From: dony [mailto:dony DOT he AT huawei DOT com DOT cn]
Sent: Tuesday, February 22, 2000 2:49 AM
To: Boyer,Galen
Subject: Re: Making GCC 2.95.2 Problems


Hello,
       I cannot visit
http://www.freeyellow.com/members5/gw32/GettingStarted.html

Can you download this page and mail a copy to me, please?
I will follow this page to  build my gcc tools.
Thanks very much.
dony

"Boyer,Galen" wrote:

> I downloaded the gcc-2.95.2.tar.bz2, unzipped it into a "src" dir
underneath
> my "local" dir.  My mounting looks like this:
>
> c:\cygnus\cygwin-b20\etc /etc                native      text!=binary
> d:               /d                  native      text!=binary
> c:               /c                  native      text!=binary
> c:\cygnus\cygwin-b20\usr\bin /bin                native      text!=binary
> c:\cygnus\cygwin-b20 /                   native      text!=binary
>
> The src dir is underneath c:\cygnus\cygwin-b20\usr\local.  The full src is
> c:\cygnus\cygwin-b20\usr\local\src\gcc\gcc-2.95.2 (I hope I followed the
> base directions from the
> http://www.freeyellow.com/members5/gw32/GettingStarted.html correctly.  I
> sure spent a lot of time trying to understand what I was trying to do)
>
> My operating system is NT.
>
> >From local, I executed "/src/gcc/gcc-2.95.2/configure" which was
successful.
> Therefore, from local again, I then executed "make bootstrap" and got back
> the error:
>
> /c: Can't open /c
> make: *** [all-libiberty] Error 2
>
> Then for a hacking try, I umounted /c and ran the command again.  I got
this
> error:
>
> make: *** No rule to make target
> `/c/cygnus/cygwin-b20/usr/local/src/gcc/gcc-2.95.2/gcc/version.c', needed
by
> `Makefile'.  Stop.
>
> This one doesn't seem to be a viable option because after umounting /c,
the
> "/src/gcc/gcc-2.95.2/configure" command brings back "bash.exe:
> src/gcc/gcc-2.95.2/configure: No such file or directory".  (I am not
exactly
> sure why this is, but I'm guessing Cygnus resolves relative paths to their
> fully qualified paths?)
>
> So, I am stuck.  How can I make the gcc executable from this point?  I
have
> a sneaking suspicion that I am missing something in how I am mounting and
I
> know that I am still a bit unsure of exactly how cygnus reads the mounted
> directory stuctures, and this is causing issues when I am trying to
> configure and make, but hopefully someone here would know what I am doing
> wrong.
>
> I have attached the makefile from configure and also a log of the
configure
> command if that might be helpful (The configure has my mounting structure
at
> the top.  I realized that I might need to let you guys know how that was
> configured, and I was mounting, umounting and configuring quite a bit to
try
> to understand what might have been going on)
>
> I would greatly appreciate this.  I am knew to java coding, but have used
> gcc and gdb for c-programming before and would like to be able to
integrate
> the compiler/debugger for java.
>
>  <<Makefile>>  <<configure.log>>
>
>   ------------------------------------------------------------------------
>                Name: Makefile
>    Makefile    Type: unspecified type (application/octet-stream)
>            Encoding: quoted-printable
>
>                     Name: configure.log
>    configure.log    Type: LOG Îļþ
(application/x-unknown-content-type-log_auto_file)
>                 Encoding: quoted-printable
>
>   ------------------------------------------------------------------------
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


------_=_NextPart_000_01BF7D37.D0BF27C8
Content-Type: application/octet-stream;
	name="GW32 - Getting Started With Cygwin.htm"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="GW32 - Getting Started With Cygwin.htm"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from =
url=3D(0059)http://www.freeyellow.com/members5/gw32/GettingStarted.html =
-->
<!--
     GettingStarted.html
     Copyright (C) 1999 - Earnie Boyd and assigns
--><HTML><HEAD><TITLE>GW32 - Getting Started With Cygwin</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<SCRIPT language=3DJavaScript>
var is_nav2 =3D 1
</SCRIPT>
<HEADER></HEADER>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR></HEAD>
<BODY>
<CENTER>
<TABLE width=3D640>
  <TBODY>
  <TR>
    <TD><IMG=20
  src=3D"GW32 - Getting Started With =
Cygwin_files/gw32.gif"></TD></TR></TBODY></TABLE></CENTER>&nbsp;=20

<CENTER>
<TABLE width=3D640>
  <TBODY>
  <TR>
    <TD>
      <CENTER>
      <TABLE>
        <TBODY>
        <TR>
          <TD>Last updated: =
1999.11.06</TR></TBODY></TABLE></CENTER><FONT=20
      face=3D"comic sans MS, arial bold, arial, helvetica" size=3D+1>
      <P>Here is a set of pointers very useful in getting started. =
Please refer=20
      to these <B><U>before posting</U></B> to the =
cygwin AT sourceware DOT cygnus DOT com=20
      mail list.=20
      <TABLE width=3D"100%">
        <TBODY>
        <TR>
          <TD align=3Dright><FONT=20
            face=3D"comic sans MS, arial bold, arial, =
helvetica">DOCUMENTATION:</FONT></TD>
          <TD align=3Dleft><FONT=20
            face=3D"comic sans MS, arial bold, arial, helvetica"><A=20
            =
href=3D"http://sourceware.cygnus.com/cygwin/docs.html">http://sourceware=
.cygnus.com/cygwin/docs.html</A></FONT></TD></TR>
        <TR>
          <TD align=3Dright><FONT=20
            face=3D"comic sans MS, arial bold, arial, helvetica">DLL =
HELP:=20
          </FONT></TD>
          <TD align=3Dleft><FONT=20
            face=3D"comic sans MS, arial bold, arial, helvetica"><A=20
            =
href=3D"http://www.xraylith.wisc.edu/~khan/software/gnu-win32/">http://w=
ww.xraylith.wisc.edu/~khan/software/gnu-win32/</A></FONT></TD></TR>
        <TR>
          <TD align=3Dright><FONT=20
            face=3D"comic sans MS, arial bold, arial, =
helvetica">ARCHIVE SEARCH:=20
            </FONT></TD>
          <TD align=3Dleft><FONT=20
            face=3D"comic sans MS, arial bold, arial, helvetica"><A=20
            =
href=3D"http://sourceware.cygnus.com/ml/cygwin/">http://sourceware.cygnu=
s.com/ml/cygwin/</A><A=20
            =
href=3D"http://www.delorie.com/archives/"><BR>http://www.delorie.com/arc=
hives/=20
            </A><A=20
            =
href=3D"http://www.egroups.com/list/gnu-win32/"><BR>http://www.eGroups.c=
om/list/gnu-win32/=20
            </A></FONT></TD></TR></TBODY></TABLE>
      <CENTER>
      <HR SIZE=3D3 width=3D"100%">
      </HR></CENTER><BR>
      <DIV align=3Dleft>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec1>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" size=3D+2>Get =
this updated=20
      cygwin1.dll</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>Ok. You've downloaded full.exe or usertools.exe =
from <A=20
      =
href=3D"http://sourceware.cygnus.com/cygwin/">http://sourceware.cygnus.c=
om/cygwin/</A>or=20
      a related mirror and you want to know what to do next. First let =
me say=20
      that you'll avoid a lot of errors if you download the <A=20
      =
href=3D"http://sourceware.cygnus.com/cygwin/snapshots/">cygwin1-19990115=
.dll.gz=20
      </A>at this location <A=20
      =
href=3D"http://sourceware.cygnus.com/cygwin/snapshots/">http://sourcewar=
e.cygnus.com/cygwin/snapshots/</A>or=20
      a related mirror and overlay the cygwin1.dll <A=20
      =
href=3D"http://www.freeyellow.com/members5/gw32/terms.html#TERMS-CYGWIN1=
DLL">(MORE=20
      INFO) </A>with this version. <B><I>You really want to do =
this</I></B> if=20
      you're using WIN95 or WIN98 as it fixes a lot of problems related =
to these=20
      OSes. <B><I>You really want to do this</I></B> in order to fix =
problems=20
      related to specifying processing modes for files with open/fopen. =
Let me=20
      emphasis it again <B><I>You really want to download and install =
<A=20
      href=3D"http://sourceware.cygnus.com/cygwin/snapshots/">cygwin1-19=
990115.dll.gz=20
      </A>!!</I></B>=20
      <P>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec2>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" size=3D+2>Why =
not download=20
      the most current snapshot?</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>The 19990115 snapshot is recognized as a stable =
snapshot.=20
      More recent snapshots may not even run. The snapshots are made =
available=20
      for developers who must live on the bleeding edge. There are a =
lot of=20
      changes in the current snapshots that are for a future release =
and some of=20
      these changes fix a lot of problems. However, the snapshots are =
alpha=20
      versions that haven't even been tested. If you're uncomfortable, =
or not=20
      familiar with administering product revisions including a backout =
plan=20
      then don't download the snapshots.=20
      <P>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec2>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" =
size=3D+2>What to download=20
      to try the most current snapshot?</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>If you're not concerned with development or you =
consider=20
      yourself just a "user" of Cygwin and you wish to try a recent =
snapshot=20
      then you will need the cygwin-inst-YYYYMMDD.tar.gz just prior to =
the=20
      cygwin1-YYYYMMDD.dll.gz file you plan to get. The cygwin-inst =
tarball=20
      contains a cygwin1.dll so there will be no need to get the =
cygwin1.dll=20
      zipped file if they both tarballs were created on the same date. =
The=20
      cygwin-inst tarball contains the installed version of Cygwin =
specific=20
      binaries, headers and libraries which you'll need for building =
you=20
      programs against in the event of incompatibility in releases.=20
      <P>If you want to help with the development of Cygwin or just =
look at the=20
      Cygwin's coding for educational purposes then you need to =
download these=20
      most recent tarballs: cygwin-inst, cygwin-src and winsup-src. =
Note that if=20
      cygwin-src and winsup-src have the same date, you only need the =
cygwin-src=20
      as the winsup-src is contained in the cygwin-src tarball.=20
      <P>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec3>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" size=3D+2>Why =
the=20
      complicated directory structure?</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>The cygwin package directory structure is provided =
to aid=20
      the developers who are responsible for more than one package to =
keep the=20
      packages in order. This on the other hand isn't very user =
friendly and it=20
      will be of benefit for you to take a look at the suggestions =
listed below=20
      for setting up your directory structure. However, before looking =
at the=20
      examples you need to understand the cygwin <A=20
      =
href=3D"http://www.freeyellow.com/members5/gw32/terms.html#TERMS-MOUNT">=
mount</A>=20
      command, so please <A=20
      =
href=3D"http://www.freeyellow.com/members5/gw32/terms.html#TERMS-MOUNT">=
click=20
      here</A> for a definition.<BR><A=20
      =
href=3D"http://www.freeyellow.com/members5/gw32/dir1.html">Suggestion =
1:=20
      Good getting started layout</A><BR><A=20
      =
href=3D"http://www.freeyellow.com/members5/gw32/dir2.html">Suggestion =
2:=20
      Dual Structure: cygwin and mingw32</A><BR>
      <P>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec4>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" =
size=3D+2>Important to=20
      mount</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>It is important to mount the other devices you =
might be=20
      using with the cygwin package. It is also important but not =
necessary to=20
      have mount points for all directories you mount. E.G.: Assuming =
that you=20
      have installed the cygwin package on drive C:, you are using the =
default=20
      C:\ for / and you also want to use drives D:, E: and M: it is =
advised that=20
      you do the following (I'm executing from MSDOS): <BR>mkdir =
c:\d<BR>mount=20
      d:\ /d<BR>mkdir c:\e<BR>mount e:\ /e<BR>mkdir c:\m<BR>mount m:\ =
/m
      <P>This is done in order to aid the resolution of devices. Some =
packages=20
      don't understand the default //d/pathname for example that will =
be used by=20
      cygwin if the device isn't mounted. It seems that the // portion =
of the=20
      path confuses some packages. Mounting the device name will cause =
cygwin to=20
      report the path as /d/pathname and remove the confusion.
      <P>CAUTION: The more mount points you add the more time it takes =
to=20
      resolve the pathnames.=20
      <P>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><A name=3Dsec5>
      <CENTER><FONT face=3D"arial bold, arial, helvetica" =
size=3D+2>Important=20
      environment variables</FONT></CENTER></A>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER>There are several environment variables that should =
be set=20
      before starting bash. Most of these are set in the cygwin.bat =
file that=20
      comes with then package; but, if you choose to change them you =
should be=20
      aware of there existance.=20
      <TABLE border=3D1 width=3D"100%">
        <TBODY>
        <TR>
          <TD align=3Dright size=3D"5%"><FONT face=3D"arial bold"=20
            size=3D+1>CYGWIN</FONT></TD>
          <TD align=3Dleft size=3D"95%"><FONT face=3D"arial bold">The =
CYGWIN=20
            environment variable is used to control switchable =
modes/methods of=20
            processing within the cygwin1.dll itself. See the =
documentation for=20
            a list of available settings.</FONT></TD></TR>
        <TR>
          <TD align=3Dright size=3D"5%"><FONT face=3D"arial bold"=20
          size=3D+1>HOME</FONT></TD>
          <TD align=3Dleft size=3D"95%"><FONT face=3D"arial bold">On =
UNIX the HOME=20
            environment variable is set by the startup process. Since =
we're=20
            <B>emulating</B> UNIX the HOME variable must be set =
manually. I=20
            typically will do one of two things for the HOME =
environment=20
            variable: 1) SET HOME=3D/home 2) SET=20
            HOME=3D/Winnt/Profiles/MyUserId</FONT></TD></TR>
        <TR>
          <TD align=3Dright size=3D"5%"><FONT face=3D"arial bold"=20
            size=3D+1>MAKE_MODE</FONT></TD>
          <TD align=3Dleft size=3D"95%"><FONT face=3D"arial bold">The =
MAKE_MODE=20
            environment variable controls the MAKE program in how it =
handles=20
            paths. If it is not set to the value UNIX (case =
insensitive) then=20
            the paths are treated as MSDOS/WIN32 style paths, I.E.=20
            C:\THIS\IS\A\PATH is considered a path and a ; character is =
used to=20
            separate paths. If it is set to the value of UNIX then the =
paths are=20
            treated as POSIX style paths, I.E. /c/this/is/a/path is =
considered a=20
            path and the : character is used to separate=20
        paths.</FONT></TD></TR></TBODY></TABLE>
      <CENTER>
      <HR SIZE=3D1 width=3D"100%">
      </HR></CENTER><BR>
      <CENTER>
      <HR SIZE=3D3 width=3D"100%">
      =
</HR></CENTER><BR></DIV></FONT></TD></TR></TBODY></TABLE></CENTER><!--Be=
gin FreeYellow.  DELETE all added code or you get more than one.
<center>
<TABLE border=3D0 cellPadding=3D2>
  <TBODY>
  <TR>
    <TD align=3Dleft><IFRAME frameBorder=3D0 height=3D60 =
marginHeight=3D0=20
      marginWidth=3D0 scrolling=3Dno=20
      src=3D"GW32 - Getting Started With Cygwin_files/adincl.html" =
width=3D468=20
      bordercolor=3D"#000000">
 <script language=3D'JavaScript1.1' =
SRC=3D"http://206.253.196.1:59666/jserver/area=3Dfy/site=3Dfy/aamsz=3Dba=
nner"></script>
  <noscript>
  <a =
href=3D"http://206.253.196.1:59666/cgi-bin/accipiter/adclick.exe/area=3D=
fy/site=3Dfy/aamsz=3Dbanner"><img =
src=3D"http://206.253.196.1:59666/cgi-bin/accipiter/adserver.exe/area=3D=
fy/site=3Dfy/aamsz=3Dbanner"></a>
  </noscript>
 </IFRAME></TD>
    <TD align=3Dright><IFRAME frameBorder=3D0 height=3D60 =
marginHeight=3D0=20
      marginWidth=3D0 scrolling=3Dno=20
      src=3D"C:\GW32 - Getting Started With =
Cygwin_files\adincl(1).html" width=3D120=20
      bordercolor=3D"#000000">
 <script language=3D'JavaScript1.1' =
SRC=3D"http://206.253.196.1:59666/jserver/area=3Dfy/site=3Dfy/aamsz=3Dbu=
tton"></script>
  <noscript>
  <a =
href=3D"http://206.253.196.1:59666/cgi-bin/accipiter/adclick.exe/area=3D=
fy/site=3Dfy/aamsz=3Dbutton"><img =
src=3D"http://206.253.196.1:59666/cgi-bin/accipiter/adserver.exe/area=3D=
fy/site=3Dfy/aamsz=3Dbutton"></a>
  </noscript>
 </IFRAME></TD></TR></TBODY></TABLE>
<CENTER></CENTER>
<CENTER><FONT size=3D-2>
<TABLE border=3D0 cellPadding=3D0 cellSpacing=3D0 width=3D468>
  <TBODY>
  <TR>
    <TD height=3D23 vAlign=3Dtop width=3D179>
      <P><IMG align=3Dtop border=3D0 height=3D23=20
      src=3D"GW32 - Getting Started With =
Cygwin_files/powerlink5a468.gif"=20
      width=3D179> </P></TD>
    <TD bgColor=3D#ffffff height=3D23 vAlign=3Dtop>
      <P></P></TD></TR>
  <TR bgColor=3D#ffff99>
    <TD height=3D27 vAlign=3Dtop width=3D179>
      <P><IMG align=3Dtop border=3D0 height=3D2=20
      src=3D"GW32 - Getting Started With =
Cygwin_files/powerlink5b468.gif"=20
      width=3D179><BR><IMG align=3Dtop border=3D0 height=3D25=20
      src=3D"GW32 - Getting Started With =
Cygwin_files/powerlink5c468.gif"=20
      width=3D179> </P></TD>
    <TD height=3D27 vAlign=3Dtop>
      <P><FONT size=3D-2><IMG align=3Dtop border=3D0 height=3D2=20
      src=3D"GW32 - Getting Started With Cygwin_files/powerlink5e.gif"=20
      width=3D296><BR><MAP name=3Dmap31><AREA coords=3D228,2,295,24=20
        href=3D"http://www.freeyellow.com/dotcom/" shape=3DRECT><AREA=20
        coords=3D178,1,226,24 href=3D"http://chat.freeyellow.com/" =
shape=3DRECT><AREA=20
        coords=3D98,0,177,23 =
href=3D"http://www.freeyellow.com/advertise/"=20
        shape=3DRECT><AREA coords=3D53,0,97,24=20
        href=3D"http://join.freeyellow.com/free/run.exe?SIGNUP:HOME"=20
        shape=3DRECT><AREA coords=3D0,0,52,24 =
href=3D"http://www.freeyellow.com/"=20
        shape=3DRECT></MAP><IMG align=3Dtop border=3D0 height=3D25=20
      src=3D"GW32 - Getting Started With =
Cygwin_files/powerlink5d468.gif"=20
      useMap=3D#map31 width=3D296></FONT> </P></TD></TR>
  <TR bgColor=3D#ffff99>
    <TD align=3Dmiddle colSpan=3D2><FONT color=3D#000000 face=3DArial =
size=3D2>Free=20
      email accounts from <A=20
      href=3D"http://www.hypermart.net/center/">HyperMart</A>, <BR>the =
Web's=20
      leading provider of free business hosting.=20
</FONT></TD></TR></TBODY></TABLE></FONT></CENTER></BODY></HTML>


------_=_NextPart_000_01BF7D37.D0BF27C8
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BF7D37.D0BF27C8--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019