public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Stupid stupid question :/
@ 1997-03-19 22:06 Colin Peters
  1997-03-20 15:15 ` incomplete ln implementation? Bernd Prager
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Peters @ 1997-03-19 22:06 UTC (permalink / raw)
  To: 'vergil@midusa.net'; +Cc: 'GNU-Win32'

Chris Wall[SMTP:vergil@midusa.net] wrote:
>I'm having problems compiling Win95 gui apps with 17.1. In the faq they
>mention using the -ssubsystem windows option to gcc OR ld, but when I do
>so I get an "invalid option" and "no such file or directory: windows"
>error. There was another part of the mailing list archives/faq (don't
>remember which) that mentioned using a -mwindows switch - which didn't
>work for me either.
>
>The compiler goes on its merry way, and comes to a few functions that
>it's totally confused by, but I am hoping that this is because of the
>lib/target problem I'm having - the program isn't my source, it's a
>cheezy example program with (unfortunately) a MSVC mak file. 

I think (confirmations anyone?) that the "-ssubsystem windows" bit in
the readme is a typo. It should be "--subsystem windows". An easy way
to do this (and not have to fool around too much) is to use gcc to
do your link step with a command line like this:

  gcc -o myexe.exe myexe.o foo.o bar.o -luser32 -Wl,--subsystem,windows

The last bit is the important part.

NOTE: You will, I think, get a "Cannot find entry point _WinMainCRTStartup"
warning or something similar. This should be harmless.

-- Colin Peters - colin@bird.fu.is.saga-u.ac.jp
-- Saga University Dept. of Information Science
-- http://www.fu.is.saga-u.ac.jp/~colin/index.html
-- http://www.geocities.com/Tokyo/Towers/6162/

-
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] 3+ messages in thread

* incomplete ln implementation?
  1997-03-19 22:06 Stupid stupid question :/ Colin Peters
@ 1997-03-20 15:15 ` Bernd Prager
  1997-03-20 20:41   ` Fergus Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Prager @ 1997-03-20 15:15 UTC (permalink / raw)
  To: 'GNU-Win32'

Sorry, I'm a newby for UNIX/win32 tools 
and still trying what happens here.

I would like to install all devtools and 
because of several disks (and never enaugh
diskspace) I prefer to work with symbolic
links. Unfortunately I get some problems with
directory links. I can install them but they
work only with a few command:

-snip------------------------------------------------

bernd:~/tst# ln -s /tmp/kif
bernd:~/tst# ls -l
total 1
lrw-r--r--   1 bernd    everyone       19 Mar 20 17:03 kif -> /tmp/kif/
bernd:~/tst# ls kif
KIFClass.h         KIFMethods.C       README             kif-meta.kif
KIFGrammar.y       KIFParse.C         TstParser.C        kif-relations.kif
KIFLex.l           Makefile           kif-lists.kif      kif-sets.kif
bernd:~/tst# cd kif
BASH.EXE: kif: Not owner
bernd:~/tst# cat kif/Makefile
cat: kif/Makefile: No such file or directory
bernd:~/tst#

-snip------------------------------------------------

Did I a mistake or is this still an uncomplete
porting?

Thanks for hints.
Bernd
_____________________________________________________________________
Bernd Prager
GECKO mbH; Wismarsche Str.3, 18057 Rostock; Germany					
http://www.gecko.de

PGP Key fingerprint = 83 54 6A 3B 7A 9D 6C 0E F3 41 CE 99 11 30 B7 D6
public key by mailto:bpr@gecko.de?Subject=SendPGPKey
_____________________________________________________________________
-
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] 3+ messages in thread

* Re: incomplete ln implementation?
  1997-03-20 15:15 ` incomplete ln implementation? Bernd Prager
@ 1997-03-20 20:41   ` Fergus Henderson
  0 siblings, 0 replies; 3+ messages in thread
From: Fergus Henderson @ 1997-03-20 20:41 UTC (permalink / raw)
  To: bpr; +Cc: gnu-win32

Bernd Prager, you wrote:
> 
> I would like to install all devtools and 
> because of several disks (and never enaugh
> diskspace) I prefer to work with symbolic
> links. Unfortunately I get some problems with
> directory links.

Yes, symbolic links to directories don't work yet.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
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] 3+ messages in thread

end of thread, other threads:[~1997-03-20 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-19 22:06 Stupid stupid question :/ Colin Peters
1997-03-20 15:15 ` incomplete ln implementation? Bernd Prager
1997-03-20 20:41   ` Fergus Henderson

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