🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42870

gcc for Windows95: Installation question

#42870
From: Stefan Brozinski
Date: Wed, 01 Nov 1995 00:00
36 lines
1316 bytes
Hi,

I have just picked up a copy of gcc for Windows 95 (Release 8 of the GNU win32 
tools) and I can't get it to compile "hello, world".

What I do is type

  gcc x.c       (where x.c is the classic "hello, world" source code)

and after a few seconds, there's an error message

  ld: cannot open -lkernel32: Permission denied

What is that? I did the following to configure my environment for gcc, maybe 
that's wrong:

[---snip AUTOEXEC.BAT---]
path c:\gcc\bin; (some more entries)
set COMPILER_PATH=c:/gcc/bin
set C_INCLUDE_PATH=c:/gcc/include
set CPLUS_INCLUDE_PATH=c:/gcc/cplusinc;c:/gcc/include
set LIBRARY_PATH=c:/gcc/lib
set TMPDIR=c:/tmp
set GO32TMP=c:/tmp
[---snap---]

What's wrong?

Regards,
  Stefan

--
Stefan Brozinski | Phone: +49 421 20127-48
Dr. Materna GmbH | Fax  : +49 421 20127-995
Am Fallturm 5    | email: Stefan.Brozinski@hb.materna.de
D-28359 Bremen   | cis  : 100143,3703
Technical Details
Message-ID: <477v14$lcq@peanuts.Materna.DE>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4a43a1a1142114ca,start
X-Google-Attributes: gid11318c,public
From: Stefan.Brozinski@hb.materna.de (Stefan Brozinski)
Subject: gcc for Windows95: Installation question
Date: 1995/11/01
Message-ID: <477v14$lcq@peanuts.Materna.DE>
X-Deja-AN: 118397435
organization: Dr. Materna GmbH
newsgroups: gnu.gcc.help