www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/25/11:34:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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: <B3953869CBF8D211A1E50004AC4C1B5402F445@ULTIMATE2>
From: "Lincoln, W. Terry" <terryl AT ultimatetechnology DOT com>
To: "'Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de'" <Prof DOT Dr DOT U DOT Kaiser AT t-online DOT de>,
cygwin AT sourceware DOT cygnus DOT com
Subject: RE: Question about gcc Linker
Date: Wed, 25 Aug 1999 11:26:31 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

------_=_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>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; 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>&gt; Sent: Wednesday, August 25, 1999 3:10 AM</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I'am trying to port a Program written with MS =
Developer Studio to</FONT>
<BR><FONT SIZE=3D2>&gt; Cygwin. It uses dialogs and a console window as =
well. I use the Function</FONT>
<BR><FONT SIZE=3D2>&gt; '_open_osfhandle' and get an undefined =
reference to that function when I</FONT>
<BR><FONT SIZE=3D2>&gt; try to link.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>Why are you porting win32 programs to win32?&nbsp; =
The Cygwin project is primarily geared towards porting software already =
running on un*x OS's to the win32 environment.&nbsp; So the libraries =
are set up to include un*x API calls.</FONT></P>

<P><FONT SIZE=3D2>&gt; What additional libraries do i need and how must =
I adress them in the</FONT>
<BR><FONT SIZE=3D2>&gt; gcc -l option? I always get a 'no such file or =
directory' message, when</FONT>
<BR><FONT SIZE=3D2>&gt; 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>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Cygwin Version is B 20.0.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Thanks in advance</FONT>
<BR><FONT SIZE=3D2>Your most welcome.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; U. Kaiser</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

<P><FONT SIZE=3D2>W. Terry =
Lincoln&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp; _&nbsp;&nbsp; /</FONT>
<BR><FONT SIZE=3D2>Senior =
Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \ |J| /</FONT>
<BR><FONT SIZE=3D2>Ultimate Technology =
Corporation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _|E|_</FONT>
<BR><FONT SIZE=3D2>a Tridex Company =
(NASDAQ:trdx)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
\&nbsp;&nbsp;&nbsp; |_ S _|</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"mailto:WTerryLincoln AT engineer DOT com">mailto:WTerryLincoln AT engineer=
.com</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp; =
|U|</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://terrylincoln.isonfire.com" =
TARGET=3D"_blank">http://terrylincoln.isonfire.com</A>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp; / |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> =
\&nbsp;&nbsp; | |&nbsp; \</FONT>
<BR><FONT SIZE=3D2>ICQ# =
39362285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp; | |&nbsp; </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>&nbsp;

</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 -


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