* gcc -o
@ 1999-06-30 16:53 Radu Grosu
1999-06-30 16:58 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Radu Grosu
0 siblings, 2 replies; 8+ messages in thread
From: Radu Grosu @ 1999-06-30 16:53 UTC (permalink / raw)
To: cygwin; +Cc: grosu
I am trying to build a .so library with cygwin gcc compiler.
Unfortunately I get the following error message:
/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
reference to 'WinMain@16'
What should I do?
Thank you in advance,
Dr. Radu Grosu
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc -o
1999-06-30 16:53 gcc -o Radu Grosu
@ 1999-06-30 16:58 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Radu Grosu
1 sibling, 1 reply; 8+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-30 16:58 UTC (permalink / raw)
To: Radu Grosu; +Cc: cygwin
an *.so library with *main*? Fix the code.
By the way, building DLL instead of *.so is preferred on Windows.
> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Radu Grosu
> Sent: Wednesday, June 30, 1999 10:55 PM
> To: cygwin@sourceware.cygnus.com
> Cc: grosu@saul.cis.upenn.edu
> Subject: gcc -o
>
>
> I am trying to build a .so library with cygwin gcc compiler.
> Unfortunately I get the following error message:
>
> /home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
> reference to 'WinMain@16'
>
> What should I do?
>
> Thank you in advance,
>
> Dr. Radu Grosu
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc -o
1999-06-30 16:58 ` Suhaib M. Siddiqi
@ 1999-06-30 22:10 ` Suhaib M. Siddiqi
0 siblings, 0 replies; 8+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-30 22:10 UTC (permalink / raw)
To: Radu Grosu; +Cc: cygwin
an *.so library with *main*? Fix the code.
By the way, building DLL instead of *.so is preferred on Windows.
> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Radu Grosu
> Sent: Wednesday, June 30, 1999 10:55 PM
> To: cygwin@sourceware.cygnus.com
> Cc: grosu@saul.cis.upenn.edu
> Subject: gcc -o
>
>
> I am trying to build a .so library with cygwin gcc compiler.
> Unfortunately I get the following error message:
>
> /home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
> reference to 'WinMain@16'
>
> What should I do?
>
> Thank you in advance,
>
> Dr. Radu Grosu
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* gcc -o
1999-06-30 16:53 gcc -o Radu Grosu
1999-06-30 16:58 ` Suhaib M. Siddiqi
@ 1999-06-30 22:10 ` Radu Grosu
1 sibling, 0 replies; 8+ messages in thread
From: Radu Grosu @ 1999-06-30 22:10 UTC (permalink / raw)
To: cygwin; +Cc: grosu
I am trying to build a .so library with cygwin gcc compiler.
Unfortunately I get the following error message:
/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
reference to 'WinMain@16'
What should I do?
Thank you in advance,
Dr. Radu Grosu
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc -o
1999-06-30 17:42 ` Suhaib M. Siddiqi
@ 1999-06-30 22:10 ` Suhaib M. Siddiqi
0 siblings, 0 replies; 8+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-30 22:10 UTC (permalink / raw)
To: grosu; +Cc: Cygwin
> Do you know if the DLL libraries may be linked to java? I am
> trying to link
> java to c via the native code interface. I suceeded under unix
> but I wanted to
> port it to windows. This was the reason I was trying to create the above
> libraries.
>
Yes they can be linked to DLl, by linked to libxx.a (the place holder libs).
I do not know much of Java and I am not sure about Java support in Cygwin.
Therefore I am forwarding your message to Cygwin mailing list. someone
who knows more about java support in Cygwin may help you.
Suhaib
> Suhaib M. Siddiqi wrote:
>
> > Ok, Thanks.
> >
> > But you need to read how to create Dlls. Shareed objects (*.so)
> > is not a standard thing on Windows and you may run into troubles.
> > I do not have time to go step by step into this procedure.
> > It requires a knowledge of C/C++ programming and a basic understanding
> > of generating a code which can generated exported symbols.
> >
> > There is plenty of info about DLLs on sourceware.cygnus.com/cygwin
> > mail archive.
> >
> > Suhaib
> >
> > > -----Original Message-----
> > > From: grosu@saul.cis.upenn.edu [ mailto:grosu@saul.cis.upenn.edu ]
> > > Sent: Wednesday, June 30, 1999 8:23 PM
> > > To: Suhaib M. Siddiqi
> > > Subject: Re: gcc -o
> > >
> > >
> > >
> > >
> > > > Also, what does libglu.so mean? I am not aware of
> libglu.so for Cygwin.
> > > > Ther is a libMesaGL.a and libMesaGLU.a, also libGL.a and libGLU.a
> > > > The glu.dll does exist.
> > >
> > > The packege I am trying to generate is glu-1.3 a standard
> symbolic model
> > > checking package. It is available at Berkeley.
> > >
> > > radu
> > >
> > >
>
>
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* gcc -o
1999-06-30 18:39 Radu Grosu
@ 1999-06-30 22:10 ` Radu Grosu
0 siblings, 0 replies; 8+ messages in thread
From: Radu Grosu @ 1999-06-30 22:10 UTC (permalink / raw)
To: cygwin
Sorry for bothering you again, but I think the error message:
/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
reference to 'WinMain@16'
is due to a problem with the cygwin gcc. It seems to me that the
librarian is trying to locate a directory for windows support called
winsup that doesn't exist on my machine. I get this error with whatever
object file I am calling gcc -o.
With best regards,
radu
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* gcc -o
@ 1999-06-30 18:39 Radu Grosu
1999-06-30 22:10 ` Radu Grosu
0 siblings, 1 reply; 8+ messages in thread
From: Radu Grosu @ 1999-06-30 18:39 UTC (permalink / raw)
To: cygwin
Sorry for bothering you again, but I think the error message:
/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38: undefined
reference to 'WinMain@16'
is due to a problem with the cygwin gcc. It seems to me that the
librarian is trying to locate a directory for windows support called
winsup that doesn't exist on my machine. I get this error with whatever
object file I am calling gcc -o.
With best regards,
radu
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc -o
[not found] <377AB872.1B175826@saul.cis.upenn.edu>
@ 1999-06-30 17:42 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Suhaib M. Siddiqi
0 siblings, 1 reply; 8+ messages in thread
From: Suhaib M. Siddiqi @ 1999-06-30 17:42 UTC (permalink / raw)
To: grosu; +Cc: Cygwin
> Do you know if the DLL libraries may be linked to java? I am
> trying to link
> java to c via the native code interface. I suceeded under unix
> but I wanted to
> port it to windows. This was the reason I was trying to create the above
> libraries.
>
Yes they can be linked to DLl, by linked to libxx.a (the place holder libs).
I do not know much of Java and I am not sure about Java support in Cygwin.
Therefore I am forwarding your message to Cygwin mailing list. someone
who knows more about java support in Cygwin may help you.
Suhaib
> Suhaib M. Siddiqi wrote:
>
> > Ok, Thanks.
> >
> > But you need to read how to create Dlls. Shareed objects (*.so)
> > is not a standard thing on Windows and you may run into troubles.
> > I do not have time to go step by step into this procedure.
> > It requires a knowledge of C/C++ programming and a basic understanding
> > of generating a code which can generated exported symbols.
> >
> > There is plenty of info about DLLs on sourceware.cygnus.com/cygwin
> > mail archive.
> >
> > Suhaib
> >
> > > -----Original Message-----
> > > From: grosu@saul.cis.upenn.edu [ mailto:grosu@saul.cis.upenn.edu ]
> > > Sent: Wednesday, June 30, 1999 8:23 PM
> > > To: Suhaib M. Siddiqi
> > > Subject: Re: gcc -o
> > >
> > >
> > >
> > >
> > > > Also, what does libglu.so mean? I am not aware of
> libglu.so for Cygwin.
> > > > Ther is a libMesaGL.a and libMesaGLU.a, also libGL.a and libGLU.a
> > > > The glu.dll does exist.
> > >
> > > The packege I am trying to generate is glu-1.3 a standard
> symbolic model
> > > checking package. It is available at Berkeley.
> > >
> > > radu
> > >
> > >
>
>
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-06-30 22:10 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-30 16:53 gcc -o Radu Grosu
1999-06-30 16:58 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Radu Grosu
[not found] <377AB872.1B175826@saul.cis.upenn.edu>
1999-06-30 17:42 ` Suhaib M. Siddiqi
1999-06-30 22:10 ` Suhaib M. Siddiqi
1999-06-30 18:39 Radu Grosu
1999-06-30 22:10 ` Radu Grosu
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).