This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: building cygwin1.dll with gcc 4.3.1


more of the same, goto and switch skipping initializations.

attached gets as far as:


gcc -c -D__CRTDLL__ -U__MSVCRT__ -g -O2   -I/src/cygwin-snapshot-20080822-1/wins
up/mingw/include -I/src/cygwin-snapshot-20080822-1/winsup/mingw/../include -nost
dinc -iwithprefixbefore include -I /src/cygwin-snapshot-20080822-1/winsup/mingw/
../w32api/include -mno-cygwin /src/cygwin-snapshot-20080822-1/winsup/mingw/crt1.
c -o crt1.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[3]: *** [crt1.o] Error 1
make[3]: Leaving directory `/obj/cygwin.1/i686-pc-cygwin/winsup/mingw'
make[2]: *** [mingw] Error 1
make[2]: Leaving directory `/obj/cygwin.1/i686-pc-cygwin/winsup'
make[1]: *** [all-target-winsup] Error 2
make[1]: Leaving directory `/obj/cygwin.1'
make: *** [all] Error 2


jay@jay-win9 /obj/cygwin.1


which I understand, different problem. I need to go build that compiler.

The .dll seems to "basically" work.
  I can
  cd /obj/bash.1
  make clean
  make

Haven't waited for it to finish.

using the dll:

Huh?  No /etc/fstab file in \??\D:\cygwin\etc\fstab.d\jay?  Using default root a
nd cygdrive prefix...
bash: /usr/bin/tr: No such file or directory
bash: /usr/bin/sed: No such file or directory

probably for lack of running 1.7 setup?
Maybe the default mount should include /bin => /usr/bin and /lib => /usr/lib?

And this incorrect command line gives an incorrect warning:

$ mount /bin /usr/bin
cygwin warning:
  MS-DOS style path detected: D:\cygwin\usr\bin
  Preferred POSIX equivalent is: /usr/bin
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
mount: /usr/bin: Invalid argument

I couldn't /quickly/ find how to fix the mount stuff I added to /etc/profile

mount d:/cygwin/lib /usr/lib
mount d:/cygwin/bin /usr/bin
mount d:/obj /obj
mount d:/src /src
mount d:/net /net
mount d:/cm3 /cm3
mount d:/dev2 /dev2

I'll go reread the 1.7 stuff.

 - Jay

Attachment: diff.txt
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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