2004-09-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

* how-programming.texinfo: Add gcj note to WinMain@16 FAQ.
	* how-using.texinfo: Add FAQ about network shares and authentication.
	* install.texinfo: Add "Where is make" to FAQ subtitle.
This commit is contained in:
Joshua Daniel Franklin
2004-09-30 05:03:52 +00:00
parent 09ebdaf715
commit 5ee7c50819
4 changed files with 39 additions and 20 deletions

View File

@@ -78,10 +78,9 @@ MAKE_MODE to "UNIX" (actually case is not significant) or "WIN32"
@subsection Why the undefined reference to @samp{WinMain@@16}?
Try adding an empty main() function to one of your sources.
Or, perhaps you have @samp{-lm} too early in the link command line. It
should be at the end:
If you're using @samp{gcc}, try adding an empty main() function to one
of your sources. Or, perhaps you have @samp{-lm} too early in the
link command line. It should be at the end:
@example
bash$ gcc hello.c -lm
@@ -101,6 +100,12 @@ works, but
This is an artifact of libm.a being a symbolic link to libcygwin.a.
If you're using GCJ, you need to pass a "--main" flag:
@example
gcj --main=Hello Hello.java
@end example
@subsection How do I use Win32 API calls?
@strong{(Please note: This section has not yet been updated for the latest