public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Unable to find entry point _mainCRTStartup function while linking
@ 1997-04-04 11:33 Vassan, S. S.
  1997-04-04 17:25 ` Jim Balter
  0 siblings, 1 reply; 2+ messages in thread
From: Vassan, S. S. @ 1997-04-04 11:33 UTC (permalink / raw)
  To: 'GNU Support'; +Cc: Laurie Babernitsh

Dear Support:
I recently downloaded Beta17.1(latest) of GNU-win32  from the net.
I downloaded only the binaries and development tools( DIDNT get the
source
or recompile/relink the executables). This was installed in Windows NT
4.0.

When I tried to link a program it says
"Unable to find the main entrypoint _mainCRTStartup assuming the main
entry point at..."
I scanned all the directories and found
"\cygnus\h-i386-cygwin32\i386-cygwin32\lib\ldscripts\i386pe.* "
which have this entry point defined in this.
How to include this..? what am I supposed to do with this...

I feel the binary versions in the net are not properly configured for
Windows NT,
we may have to get the source file and start from beginning the three
steps
Configuration, compilation and installation... I dont have enough free
disk for
that..
Is there any solution for this...?
Additionally this version of linker is not able to recognise  .LIB files
..
I have the MicroSoft  ODBC library with me .."ODBC32.LIB" which I tried
to link using the option "-lodbc32". It came out with the message
"ld.exe: Unable to open -lodbc32" always..
I tried all permutations and combinations and was not successfull..
Ultimately, I used "dlltool" to export all the functions from the DLL
and create
libodbc32.a -unix like library..

But still I couldnt create ".EXE" due to the first error...
Can anybody give me a solution for these ....

Thanx,
Vassan
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1997-04-04 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-04 11:33 Unable to find entry point _mainCRTStartup function while linking Vassan, S. S.
1997-04-04 17:25 ` Jim Balter

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).