Mail Archives: cygwin/2000/06/14/00:12:29
------=_NextPart_000_0018_01BFD57B.4E7DE370
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
-mno-cygwin works just fine (for me) with cygwin 1.1.2, but additional
headers and run-time libraries are needed. Its best to custom craft a specs
file for the compiler to do this. Its not as simple as adding a -I
directive and a -L directive. Something like the attached specs file would
work, but only if the headers and libraries from the mingw distribution
(latest, 27 March version) are installed where the specs file expects them.
Note that in the specs file I disable searching through the "standard system
include directories", as is needed to avoid mixing mingw and cygwin headers.
I know of no such protection from the library search paths other than making
sure that the mingw libraries are found first, and then checking that the
resulting executable does not refer to the undesired DLL's.
With the right specs file, 1.1.2 seems to work find for what I have tried
(C, C++, fortran). No warranties. The enclosed specs file is a bit of a
hack, and some of the hacks may break for future releases of gcc/cygwin.
There is no good definition/specification for the specs file that I am aware
of other than the source code, so I assume that the specs file is fair game
for reformatting with each revision of the compiler.
I use the following mingw packages
gcc-2.95.2-1-msvcrt.zip
(use the lib/gcc-lib/i386-mingw32msvc therein by moving or copying
it into /usr/lib/gcc-lib to make it parallel to
/usr/lib/gcc-lib/i686-pc-cygwin
(this gives you /usr/lib/gcc-lib/i386-mingw32msvc)
use the include/g++-3 therein by moving or copying it
into /usr/mingw/include (this directory must be
created)
and use the files i386-mingw32msvc/include/*.h therein by moving or
copying them into /usr/mingw/include
)
bin-msvcrt-2000-03-27.zip
(unpacking under /usr, and then
THIS IS TRICKY:
from a true MSDOS shell (using command.com or cmd.com), go into
/usr/bin.
If you see a single file called mingwm10.dll move it to /bin
You must then also undo some damage to the file structure caused by
the
unpack by going into the /usr directory and remove the undesired bin
directory:
rd bin
You may now exit the MSDOS shell.
from a cygwin shell (like an rxvt window)
cp -a /usr/i386-mingw32msvc/lib/*.o /usr/i686-pc-cygwin/lib
)
It works for me. 100k lines of C/C++/fortran do just fine.
I expect that the above hacks will be unnecessary and probably broken when
Mumit Khan returns to the scene.
Hope this helps.
Dale Goudey
------=_NextPart_000_0018_01BFD57B.4E7DE370
Content-Type: application/octet-stream;
name="specs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="specs"
KmFzbToKCgoqYXNtX2ZpbmFsOgoKCipjcHA6Ci1yZW1hcCAlKGNwcF9jcHUpICV7cG9zaXg6LURf
UE9TSVhfU09VUkNFfSAgICV7IW1uby1jeWd3aW46LURfX0NZR1dJTjMyX18gLURfX0NZR1dJTl9f
fSAgICV7bXRocmVhZHM6ICV7bW5vLWN5Z3dpbjotRF9NVH19ICV7bW5vLWN5Z3dpbjotbm9zdGRp
bmMgLW5vc3RkaW5jKyt9ICAle21uby1jeWd3aW46LWl3aXRocHJlZml4YmVmb3JlICAgICAuLi8u
Li8uLi8uLi9taW5ndy9pbmNsdWRlL2crKy0zIH0gJXttbm8tY3lnd2luOi1pd2l0aHByZWZpeGJl
Zm9yZSAgICAgLi4vLi4vLi4vLi4vaTM4Ni1taW5ndzMybXN2Yy9pbmNsdWRlL21pbmd3MzIgfSAg
JXttbm8tY3lnd2luOi1pd2l0aHByZWZpeGJlZm9yZSAgICAgLi4vLi4vLi4vLi4vbWluZ3cvaW5j
bHVkZSB9ICAle21uby1jeWd3aW46LWl3aXRocHJlZml4YmVmb3JlICAgICAuLi8uLi8uLi8uLi9p
Mzg2LW1pbmd3MzJtc3ZjL2luY2x1ZGUgfSAgJXttbm8tY3lnd2luOi1pd2l0aHByZWZpeGJlZm9y
ZSAgICAuLi8uLi9pMzg2LW1pbmd3MzJtc3ZjLzIuOTUuMi9pbmNsdWRlIH0gCgoqY2MxOgolKGNj
MV9zcGVjKSAKCipjYzFwbHVzOgoKCiplbmRmaWxlOgoKCipsaW5rOgole213aW5kb3dzOi0tc3Vi
c3lzdGVtIHdpbmRvd3N9IAkJICAgJXttY29uc29sZTotLXN1YnN5c3RlbSBjb25zb2xlfSAJCSAg
ICV7c2hhcmVkOiAle21kbGw6ICVlc2hhcmVkIGFuZCBtZGxsIGFyZSBub3QgY29tcGF0aWJsZX19
IAkJIC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TQ4NjolKGNwcF80ODYpfSAle200ODY6JShjcHBfNDg2KX0gJXttcGVudGl1bTol
KGNwcF81ODYpfSAle21jcHU9cGVudGl1bTolKGNwcF81ODYpfSAle21wZW50aXVtcHJvOiUoY3Bw
XzY4Nil9ICV7bWNwdT1wZW50aXVtcHJvOiUoY3BwXzY4Nil9ICV7bWNwdT1rNjolKGNwcF9rNil9
ICV7IW1jcHUqOiV7IW00ODY6JXshbXBlbnRpdW0qOiUoY3BwX2NwdV9kZWZhdWx0KX19fQoKKmNj
MV9jcHU6CiV7IW1jcHUqOiAle20zODY6LW1jcHU9aTM4NiAtbWFyY2g9aTM4Nn0gJXttNDg2Oi1t
Y3B1PWk0ODYgLW1hcmNoPWk0ODZ9ICV7bXBlbnRpdW06LW1jcHU9cGVudGl1bX0gJXttcGVudGl1
bXBybzotbWNwdT1wZW50aXVtcHJvfX0KCiptaW5nd19pbmNsdWRlX3BhdGg6CmkzODYtbWluZ3cz
Mm1zdmMKCipsaW5rX2NvbW1hbmQ6CiV7IWZzeW50YXgtb25seTogICV7IWM6JXshTToleyFNTTol
eyFFOiV7IVM6JShsaW5rZXIpICVsICVYICV7byp9ICV7QX0gJXtkfSAle2UqfSAle219ICV7Tn0g
JXtufSAJCQkle3J9ICV7c30gJXt0fSAle3UqfSAle3h9ICV7en0gJXtafQkJCSV7IUE6JXshbm9z
dGRsaWI6JXshbm9zdGFydGZpbGVzOiVTfX19CQkJJXtzdGF0aWM6fSAle0wqfSAlRCAlbwkJCSV7
IW5vc3RkbGliOiV7IW5vZGVmYXVsdGxpYnM6JUcgJUwgJUd9fQkJCSV7IUE6JXshbm9zdGRsaWI6
JXshbm9zdGFydGZpbGVzOiVFfX19CQkJJXtUKn0JCQkKIH19fX19fQoK
------=_NextPart_000_0018_01BFD57B.4E7DE370
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_0018_01BFD57B.4E7DE370--
- Raw text -