Mail Archives: cygwin/1999/08/25/11:34:26
------_=_NextPart_000_01BEEF0E.382B78CA
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01BEEF0E.382B78CA"
------_=_NextPart_001_01BEEF0E.382B78CA
Content-Type: text/plain;
charset="iso-8859-1"
> -----Original Message-----
> From: Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de [mailto:Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de]
> Sent: Wednesday, August 25, 1999 3:10 AM
>
>
> I'am trying to port a Program written with MS Developer Studio to
> Cygwin. It uses dialogs and a console window as well. I use the Function
> '_open_osfhandle' and get an undefined reference to that function when I
> try to link.
>
Why are you porting win32 programs to win32? The Cygwin project is
primarily geared towards porting software already running on un*x OS's to
the win32 environment. So the libraries are set up to include un*x API
calls.
> What additional libraries do i need and how must I adress them in the
> gcc -l option? I always get a 'no such file or directory' message, when
> I try to add a library.
You can't link libraries or object files from the Micro$oft format with
Cygwin gcc.
Addressing libraries that are Cygwin such as libXYZ.a is done with the
switch -LXYZ on the gcc line.
>
> Cygwin Version is B 20.0.
>
> Thanks in advance
Your most welcome.
>
>
> U. Kaiser
>
W. Terry Lincoln \ \ _ /
Senior Engineer \ \ |J| /
Ultimate Technology Corporation \ _|E|_
a Tridex Company (NASDAQ:trdx) \ |_ S _|
mailto:WTerryLincoln AT engineer DOT com \ |U|
http://terrylincoln.isonfire.com \ / |S| \
http://www.AngelFire.com/ny/TerryLincoln \ | | \
ICQ# 39362285 \ | |
=========================================== ~~~~~
Opinions expressed do not represent the management of UTC.
(p.s. If you reply to the list please don't cc me)
------_=_NextPart_001_01BEEF0E.382B78CA
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: Question about gcc Linker</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de [<A =
HREF=3D"mailto:Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de">mailto:Prof DOT Dr DOT U DOT Kaiser AT t-o=
nline.de</A>]</FONT>
<BR><FONT SIZE=3D2>> Sent: Wednesday, August 25, 1999 3:10 AM</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I'am trying to port a Program written with MS =
Developer Studio to</FONT>
<BR><FONT SIZE=3D2>> Cygwin. It uses dialogs and a console window as =
well. I use the Function</FONT>
<BR><FONT SIZE=3D2>> '_open_osfhandle' and get an undefined =
reference to that function when I</FONT>
<BR><FONT SIZE=3D2>> try to link.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>Why are you porting win32 programs to win32? =
The Cygwin project is primarily geared towards porting software already =
running on un*x OS's to the win32 environment. So the libraries =
are set up to include un*x API calls.</FONT></P>
<P><FONT SIZE=3D2>> What additional libraries do i need and how must =
I adress them in the</FONT>
<BR><FONT SIZE=3D2>> gcc -l option? I always get a 'no such file or =
directory' message, when</FONT>
<BR><FONT SIZE=3D2>> I try to add a library.</FONT>
<BR><FONT SIZE=3D2>You can't link libraries or object files from the =
Micro$oft format with Cygwin gcc.</FONT>
<BR><FONT SIZE=3D2>Addressing libraries that are Cygwin such as =
libXYZ.a is done with the switch -LXYZ on the gcc line.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Cygwin Version is B 20.0.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Thanks in advance</FONT>
<BR><FONT SIZE=3D2>Your most welcome.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> U. Kaiser</FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
<P><FONT SIZE=3D2>W. Terry =
Lincoln  =
; =
\ \ _ /</FONT>
<BR><FONT SIZE=3D2>Senior =
Engineer &nbs=
p; =
\ \ |J| /</FONT>
<BR><FONT SIZE=3D2>Ultimate Technology =
Corporation =
\ _|E|_</FONT>
<BR><FONT SIZE=3D2>a Tridex Company =
(NASDAQ:trdx) =
\ |_ S _|</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"mailto:WTerryLincoln AT engineer DOT com">mailto:WTerryLincoln AT engineer=
.com</A> \ =
|U|</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://terrylincoln.isonfire.com" =
TARGET=3D"_blank">http://terrylincoln.isonfire.com</A> =
\ / |S| \</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.AngelFire.com/ny/TerryLincoln" =
TARGET=3D"_blank">http://www.AngelFire.com/ny/TerryLincoln</A> =
\ | | \</FONT>
<BR><FONT SIZE=3D2>ICQ# =
39362285 &nbs=
p; &nbs=
p; \ | | </FONT>
<BR><FONT =
SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
~~~~~</FONT>
<BR><FONT SIZE=3D2>Opinions expressed do not represent the management =
of UTC. </FONT>
<BR><FONT SIZE=3D2>(p.s. If you reply to the list please don't cc =
me)</FONT>
</P>
<P><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"></FONT>
</BODY>
</HTML>
------_=_NextPart_001_01BEEF0E.382B78CA--
------_=_NextPart_000_01BEEF0E.382B78CA
Content-Type: application/octet-stream;
name="Warren Terry Lincoln (E-mail).vcf"
Content-Disposition: attachment;
filename="Warren Terry Lincoln (E-mail).vcf"
BEGIN:VCARD
VERSION:2.1
N:Lincoln;Warren;;Mr.;
FN:Warren Terry Lincoln (E-mail)
ORG:UTC;Engineering
TITLE:Senior Engineer
TEL;WORK;VOICE:(716) 924-9500
TEL;HOME;VOICE:(716) 377-3959
TEL;CELL;VOICE:(716) 261-3959
TEL;CAR;VOICE:
TEL;WORK;FAX:(716) 924-1434
ADR;WORK:;Victor;100 Rawson Road;Victor;NY;14564-0000;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Victor=0D=0A100 Rawson Road=0D=0AVictor, NY 14564-0000=0D=0AUnited States of=
America
ADR;HOME:;;100 Courtshire Lane;Penfield;NY;10526-2678;United States of America
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:100 Courtshire Lane=0D=0APenfield, NY 10526-2678=0D=0AUnited States of Ameri=
ca
EMAIL;PREF;MS:ULTIMATE/UTCPO/LincolnT
REV:19990121T133603Z
END:VCARD
------_=_NextPart_000_01BEEF0E.382B78CA
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_01BEEF0E.382B78CA--
- Raw text -