Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Lincoln, W. Terry" To: "'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) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01BEEF0E.382B78CA" ------_=_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 RE: Question about gcc Linker

> -----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-o= nline.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          &nbs= p;          = \      \ |J| /
Ultimate Technology = Corporation      = \      _|E|_
a Tridex Company = (NASDAQ:trdx)        = \    |_ S _|
mailto:WTerryLincoln AT engineer= .com      \     = |U|
http://terrylincoln.isonfire.com   =      \  / |S| \
http://www.AngelFire.com/ny/TerryLincoln = \   | |  \
ICQ# = 39362285          &nbs= p;           &nbs= p;      \  | | 
=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 = ~~~~~
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-- ------_=_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--