Question about gcc Linker
Lincoln, W. Terry
terryl@ultimatetechnology.com
Wed Aug 25 08:31:00 GMT 1999
Title: RE: Question about gcc Linker
> -----Original Message-----
> From: Prof.Dr.U.Kaiser@t-online.de [ mailto:Prof.Dr.U.Kaiser@t-online.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@engineer.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)
ÃÂ
Warren Terry Lincoln (E-mail).vcf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list