public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Question about gcc Linker
@ 1999-08-25 15:33 Lincoln, W. Terry
  1999-08-31 23:49 ` Lincoln, W. Terry
  0 siblings, 1 reply; 10+ messages in thread
From: Lincoln, W. Terry @ 1999-08-25 15:33 UTC (permalink / raw)
  To: 'JRSON@NetZero.Net'; +Cc: 'Cygwin Mailing List'

nt of UTC. > -----Original Message-----
> From: JRSON@NetZero.Net [ mailto:JRSON@NetZero.Net ]
> Sent: Wednesday, August 25, 1999 4:41 PM
> To: cygwin@sourceware.cygnus.com
> Subject: Re: Question about gcc Linker
> 
> 
> MS implibs cannot be linked using current binutils ;-)
> 
> There is NO support in binutils for COMDAT symbols.
> 
> Static MS libraries/objs can be linked using current
> binutils, but there are some problems even with that.
> combining precompiled static MS libraries/objs (which
> assume msv libc/crt functions) with cygwin gcc compiled code
> will usually fail, you can't mix runtimes.
> 
> Even using mingw32 some of the startup routines
> just aren't there. The only way to guarantee compatibility
> is to buy a copy of vc++ compile the libc libcmt etc...
> using mingw32 gcc (a Major project in itself !-) and
> then link using link.exe.
> 
> On Wed, 25 Aug 1999 12:12:35 -0400, you wrote:
> 
> >On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
> >>> 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.
> 
> BTW -Ldir -lXYZ will link with dir/libXYZ.a
> the second switch is small ell.
> you will need to copy or link (ln -s) XYZ.lib libXYZ.a
> otherwise ld won't be able to find it.
> 
Sorry, yes I knew that, but got my fingers typing before my brain was fully
engaged. :->

> >
> >That's not entirely true.  Many Microsoft libraries work 
> fine.  You should
> >be able to just specify them on the command line.
> >
> >cgf
> 
> ________________________________________________________
> NetZero - We believe in a FREE Internet.  Shouldn't you?
> Get your FREE Internet Access and Email at
> http://www.netzero.net/download/index.html
> 


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. 


begin 600 Warren Terry Lincoln (E-mail).vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DQI;F-O;&X[5V%R<F5N.SM-
M<BX[#0I&3CI787)R96X@5&5R<GD@3&EN8V]L;B`H12UM86EL*0T*3U)'.E54
M0SM%;F=I;F5E<FEN9PT*5$E43$4Z4V5N:6]R($5N9VEN965R#0I414P[5T]2
M2SM63TE#13HH-S$V*2`Y,C0M.34P,`T*5$5,.TA/344[5D])0T4Z*#<Q-BD@
M,S<W+3,Y-3D-"E1%3#M#14Q,.U9/24-%.B@W,38I(#(V,2TS.34Y#0I414P[
M0T%2.U9/24-%.@T*5$5,.U=/4DL[1D%8.B@W,38I(#DR-"TQ-#,T#0I!1%([
M5T]22SH[5FEC=&]R.S$P,"!287=S;VX@4F]A9#M6:6-T;W([3ED[,30U-C0M
M,#`P,#M5;FET960@4W1A=&5S(&]F($%M97)I8V$-"DQ!0D5,.U=/4DL[14Y#
M3T1)3D<]455/5$5$+5!224Y404),13I6:6-T;W(],$0],$$Q,#`@4F%W<V]N
M(%)O860],$0],$%6:6-T;W(L($Y9(#$T-38T+3`P,#`],$0],$%5;FET960@
M4W1A=&5S(&]F/0T*($%M97)I8V$-"D%$4CM(3TU%.CL[,3`P($-O=7)T<VAI
M<F4@3&%N93M096YF:65L9#M.63LQ,#4R-BTR-C<X.U5N:71E9"!3=&%T97,@
M;V8@06UE<FEC80T*3$%"14P[2$]-13M%3D-/1$E.1SU154]4140M4%))3E1!
M0DQ%.C$P,"!#;W5R='-H:7)E($QA;F4],$0],$%096YF:65L9"P@3ED@,3`U
M,C8M,C8W.#TP1#TP055N:71E9"!3=&%T97,@;V8@06UE<FD]#0IC80T*14U!
M24P[4%)%1CM-4SI53%1)34%412]55$-03R],:6YC;VQN5`T*4D56.C$Y.3DP
8,3(Q5#$S,S8P,UH-"D5.1#I60T%21`T*
`
end

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Question about gcc Linker
  1999-08-25 15:33 Question about gcc Linker Lincoln, W. Terry
@ 1999-08-31 23:49 ` Lincoln, W. Terry
  0 siblings, 0 replies; 10+ messages in thread
From: Lincoln, W. Terry @ 1999-08-31 23:49 UTC (permalink / raw)
  To: 'JRSON@NetZero.Net'; +Cc: 'Cygwin Mailing List'

nt of UTC. > -----Original Message-----
> From: JRSON@NetZero.Net [ mailto:JRSON@NetZero.Net ]
> Sent: Wednesday, August 25, 1999 4:41 PM
> To: cygwin@sourceware.cygnus.com
> Subject: Re: Question about gcc Linker
> 
> 
> MS implibs cannot be linked using current binutils ;-)
> 
> There is NO support in binutils for COMDAT symbols.
> 
> Static MS libraries/objs can be linked using current
> binutils, but there are some problems even with that.
> combining precompiled static MS libraries/objs (which
> assume msv libc/crt functions) with cygwin gcc compiled code
> will usually fail, you can't mix runtimes.
> 
> Even using mingw32 some of the startup routines
> just aren't there. The only way to guarantee compatibility
> is to buy a copy of vc++ compile the libc libcmt etc...
> using mingw32 gcc (a Major project in itself !-) and
> then link using link.exe.
> 
> On Wed, 25 Aug 1999 12:12:35 -0400, you wrote:
> 
> >On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
> >>> 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.
> 
> BTW -Ldir -lXYZ will link with dir/libXYZ.a
> the second switch is small ell.
> you will need to copy or link (ln -s) XYZ.lib libXYZ.a
> otherwise ld won't be able to find it.
> 
Sorry, yes I knew that, but got my fingers typing before my brain was fully
engaged. :->

> >
> >That's not entirely true.  Many Microsoft libraries work 
> fine.  You should
> >be able to just specify them on the command line.
> >
> >cgf
> 
> ________________________________________________________
> NetZero - We believe in a FREE Internet.  Shouldn't you?
> Get your FREE Internet Access and Email at
> http://www.netzero.net/download/index.html
> 


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. 


begin 600 Warren Terry Lincoln (E-mail).vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DQI;F-O;&X[5V%R<F5N.SM-
M<BX[#0I&3CI787)R96X@5&5R<GD@3&EN8V]L;B`H12UM86EL*0T*3U)'.E54
M0SM%;F=I;F5E<FEN9PT*5$E43$4Z4V5N:6]R($5N9VEN965R#0I414P[5T]2
M2SM63TE#13HH-S$V*2`Y,C0M.34P,`T*5$5,.TA/344[5D])0T4Z*#<Q-BD@
M,S<W+3,Y-3D-"E1%3#M#14Q,.U9/24-%.B@W,38I(#(V,2TS.34Y#0I414P[
M0T%2.U9/24-%.@T*5$5,.U=/4DL[1D%8.B@W,38I(#DR-"TQ-#,T#0I!1%([
M5T]22SH[5FEC=&]R.S$P,"!287=S;VX@4F]A9#M6:6-T;W([3ED[,30U-C0M
M,#`P,#M5;FET960@4W1A=&5S(&]F($%M97)I8V$-"DQ!0D5,.U=/4DL[14Y#
M3T1)3D<]455/5$5$+5!224Y404),13I6:6-T;W(],$0],$$Q,#`@4F%W<V]N
M(%)O860],$0],$%6:6-T;W(L($Y9(#$T-38T+3`P,#`],$0],$%5;FET960@
M4W1A=&5S(&]F/0T*($%M97)I8V$-"D%$4CM(3TU%.CL[,3`P($-O=7)T<VAI
M<F4@3&%N93M096YF:65L9#M.63LQ,#4R-BTR-C<X.U5N:71E9"!3=&%T97,@
M;V8@06UE<FEC80T*3$%"14P[2$]-13M%3D-/1$E.1SU154]4140M4%))3E1!
M0DQ%.C$P,"!#;W5R='-H:7)E($QA;F4],$0],$%096YF:65L9"P@3ED@,3`U
M,C8M,C8W.#TP1#TP055N:71E9"!3=&%T97,@;V8@06UE<FD]#0IC80T*14U!
M24P[4%)%1CM-4SI53%1)34%412]55$-03R],:6YC;VQN5`T*4D56.C$Y.3DP
8,3(Q5#$S,S8P,UH-"D5.1#I60T%21`T*
`
end

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Question about gcc Linker
  1999-08-25  8:31 Lincoln, W. Terry
  1999-08-25  9:10 ` Chris Faylor
@ 1999-08-31 23:49 ` Lincoln, W. Terry
  1 sibling, 0 replies; 10+ messages in thread
From: Lincoln, W. Terry @ 1999-08-31 23:49 UTC (permalink / raw)
  To: 'Prof.Dr.U.Kaiser@t-online.de', cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]

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


[-- Attachment #2: Warren_Terry_Lincoln_(E-mail).vcf --]
[-- Type: text/vcard, Size: 725 bytes --]

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Question about gcc Linker
  1999-08-25  0:02 uk
@ 1999-08-31 23:49 ` uk
  0 siblings, 0 replies; 10+ messages in thread
From: uk @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin

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.

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.

Cygwin Version is B 20.0.

Thanks in advance


U. Kaiser

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question about gcc Linker
  1999-08-25  9:10 ` Chris Faylor
  1999-08-25 13:43   ` John R Hanson
@ 1999-08-31 23:49   ` Chris Faylor
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Faylor @ 1999-08-31 23:49 UTC (permalink / raw)
  To: Lincoln, W. Terry; +Cc: 'Prof.Dr.U.Kaiser@t-online.de', cygwin

On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
>> 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.

That's not entirely true.  Many Microsoft libraries work fine.  You should
be able to just specify them on the command line.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question about gcc Linker
  1999-08-25 13:43   ` John R Hanson
@ 1999-08-31 23:49     ` John R Hanson
  0 siblings, 0 replies; 10+ messages in thread
From: John R Hanson @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin

MS implibs cannot be linked using current binutils ;-)

There is NO support in binutils for COMDAT symbols.

Static MS libraries/objs can be linked using current
binutils, but there are some problems even with that.
combining precompiled static MS libraries/objs (which
assume msv libc/crt functions) with cygwin gcc compiled code
will usually fail, you can't mix runtimes.

Even using mingw32 some of the startup routines
just aren't there. The only way to guarantee compatibility
is to buy a copy of vc++ compile the libc libcmt etc...
using mingw32 gcc (a Major project in itself !-) and
then link using link.exe.

On Wed, 25 Aug 1999 12:12:35 -0400, you wrote:

>On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
>>> 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.

BTW -Ldir -lXYZ will link with dir/libXYZ.a
the second switch is small ell.
you will need to copy or link (ln -s) XYZ.lib libXYZ.a
otherwise ld won't be able to find it.

>
>That's not entirely true.  Many Microsoft libraries work fine.  You should
>be able to just specify them on the command line.
>
>cgf

________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question about gcc Linker
  1999-08-25  9:10 ` Chris Faylor
@ 1999-08-25 13:43   ` John R Hanson
  1999-08-31 23:49     ` John R Hanson
  1999-08-31 23:49   ` Chris Faylor
  1 sibling, 1 reply; 10+ messages in thread
From: John R Hanson @ 1999-08-25 13:43 UTC (permalink / raw)
  To: cygwin

MS implibs cannot be linked using current binutils ;-)

There is NO support in binutils for COMDAT symbols.

Static MS libraries/objs can be linked using current
binutils, but there are some problems even with that.
combining precompiled static MS libraries/objs (which
assume msv libc/crt functions) with cygwin gcc compiled code
will usually fail, you can't mix runtimes.

Even using mingw32 some of the startup routines
just aren't there. The only way to guarantee compatibility
is to buy a copy of vc++ compile the libc libcmt etc...
using mingw32 gcc (a Major project in itself !-) and
then link using link.exe.

On Wed, 25 Aug 1999 12:12:35 -0400, you wrote:

>On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
>>> 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.

BTW -Ldir -lXYZ will link with dir/libXYZ.a
the second switch is small ell.
you will need to copy or link (ln -s) XYZ.lib libXYZ.a
otherwise ld won't be able to find it.

>
>That's not entirely true.  Many Microsoft libraries work fine.  You should
>be able to just specify them on the command line.
>
>cgf

________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Question about gcc Linker
  1999-08-25  8:31 Lincoln, W. Terry
@ 1999-08-25  9:10 ` Chris Faylor
  1999-08-25 13:43   ` John R Hanson
  1999-08-31 23:49   ` Chris Faylor
  1999-08-31 23:49 ` Lincoln, W. Terry
  1 sibling, 2 replies; 10+ messages in thread
From: Chris Faylor @ 1999-08-25  9:10 UTC (permalink / raw)
  To: Lincoln, W. Terry; +Cc: 'Prof.Dr.U.Kaiser@t-online.de', cygwin

On Wed, Aug 25, 1999 at 11:26:31AM -0400, Lincoln, W. Terry wrote:
>> 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.

That's not entirely true.  Many Microsoft libraries work fine.  You should
be able to just specify them on the command line.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Question about gcc Linker
@ 1999-08-25  8:31 Lincoln, W. Terry
  1999-08-25  9:10 ` Chris Faylor
  1999-08-31 23:49 ` Lincoln, W. Terry
  0 siblings, 2 replies; 10+ messages in thread
From: Lincoln, W. Terry @ 1999-08-25  8:31 UTC (permalink / raw)
  To: 'Prof.Dr.U.Kaiser@t-online.de', cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Question about gcc Linker
@ 1999-08-25  0:02 uk
  1999-08-31 23:49 ` uk
  0 siblings, 1 reply; 10+ messages in thread
From: uk @ 1999-08-25  0:02 UTC (permalink / raw)
  To: cygwin

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.

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.

Cygwin Version is B 20.0.

Thanks in advance


U. Kaiser

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-08-31 23:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-25 15:33 Question about gcc Linker Lincoln, W. Terry
1999-08-31 23:49 ` Lincoln, W. Terry
  -- strict thread matches above, loose matches on Subject: below --
1999-08-25  8:31 Lincoln, W. Terry
1999-08-25  9:10 ` Chris Faylor
1999-08-25 13:43   ` John R Hanson
1999-08-31 23:49     ` John R Hanson
1999-08-31 23:49   ` Chris Faylor
1999-08-31 23:49 ` Lincoln, W. Terry
1999-08-25  0:02 uk
1999-08-31 23:49 ` uk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).