public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs on cygwin32 i586
@ 1997-12-10  1:42 op Span
  1997-12-10  7:31 ` Mumit Khan
  0 siblings, 1 reply; 4+ messages in thread
From: op Span @ 1997-12-10  1:42 UTC (permalink / raw)
  To: egcs

I am using gnuwin32 b18, trying to compile the latest (1207) snapshot on a
133 pentium with win95. It fails at:

make bootstrap

prefix.c            : Undefined reference to : RegOpenKeyExA@20
                          Undefined reference to : ReqQueryValueExA@24

How  cums this?
Could this be a Win95/ WinNT problem?
What can I do to fix this?

Thanx


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

* Re: egcs on cygwin32 i586
  1997-12-10  1:42 egcs on cygwin32 i586 op Span
@ 1997-12-10  7:31 ` Mumit Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1997-12-10  7:31 UTC (permalink / raw)
  To: egcs

"op Span" <op_span@macmail.psy.uva.nl> writes:
> I am using gnuwin32 b18, trying to compile the latest (1207) snapshot on a
> 133 pentium with win95. It fails at:

Things have changed quite a bit since the gcc-2.8.0 merge, and I'll
probably make a new release after things settle down a bit.

> 
> Could this be a Win95/ WinNT problem?

Yes. You need -ladvapi32 to get the Reg* stuff, which should've been
automatically, but obviously there is a glitch.

If you can live with egcs-1.00, try my pre-built distribution at
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/

Regards,
Mumit -- khan@xraylith.wisc.edu
http://www.xraylith.wisc.edu/~khan/


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

* Re: egcs on cygwin32 i586
  1997-12-11  3:50 op Span
@ 1997-12-11  7:47 ` Mumit Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1997-12-11  7:47 UTC (permalink / raw)
  To: egcs

You should pose these questions to gnu-win32 newsgroup, since that's where
all the gnu-win32 users hang out.

> I have gnuwin32 b18 installed. Downloaded Mumit's win32 egcs1.0 pre-build
> binaries. untarred them over gnuwin in the dir c:/gnuwin32/b18. This seems to
> be the apropriate place. Installed coolview (libcygwin.a and cygnus.dll) and
> all seens to be OK.

You should use *my* libcygwin.a, even if you use Sergey's cygwin.dll.

> all but one thing: the default include path is incorrect: unable to find
> stdio.h etc. So I hacked the makefile of my app to search the specific dirs
> for these files. Now the compilation goes fine. But the linking doesn't. It
> just stops. Well actually it just doesn't.
> 
> so 2 questions: How do I change de default include-dir?

See the FAQ for cygwin32 ( http://www.cygnus.com/misc/gnu-win32/ ).
Basically you have to set the C_INCLUDE_PATH, C_PLUS_INCLUDE_PATH, etc.

I've uploaded a sample SETENV.BAT file in my ftp area that should work
for you. Where you found the gnuwin32-egcs-1.00.tar.gz file.

for future reference, when you report problems, you should include at
least the following:

1. You current environment settings.
2. output of the compiler with -v option:
   
   % gcc -v test.c

3. also the linking step:
   
   % gcc -o ntat.exe -v main.o


Mumit

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

* RE: egcs on cygwin32 i586
@ 1997-12-11  3:50 op Span
  1997-12-11  7:47 ` Mumit Khan
  0 siblings, 1 reply; 4+ messages in thread
From: op Span @ 1997-12-11  3:50 UTC (permalink / raw)
  To: egcs

Well, now this:

I have gnuwin32 b18 installed. Downloaded Mumit's win32 egcs1.0 pre-build
binaries. untarred them over gnuwin in the dir c:/gnuwin32/b18. This seems to
be the apropriate place. Installed coolview (libcygwin.a and cygnus.dll) and
all seens to be OK.

all but one thing: the default include path is incorrect: unable to find
stdio.h etc. So I hacked the makefile of my app to search the specific dirs
for these files. Now the compilation goes fine. But the linking doesn't. It
just stops. Well actually it just doesn't.

so 2 questions: How do I change de default include-dir?
and what about the linker.

linking: gcc -o ntat.exe main.o -lstdc++

just doesn't stop

linking: gcc -o ntat.exe main.o

gives a long list of undefined symbols (as expected)



_______________________________________________________________________________
From: Mumit Khan <khan@xraylith.wisc.edu>
Sender: owner-egcs@cygnus.com
Precedence: bulk
Reply-To: egcs@cygnus.com

"op Span" <op_span@macmail.psy.uva.nl> writes:
> I am using gnuwin32 b18, trying to compile the latest (1207) snapshot on a
> 133 pentium with win95. It fails at:

Things have changed quite a bit since the gcc-2.8.0 merge, and I'll
probably make a new release after things settle down a bit.

> 
> Could this be a Win95/ WinNT problem?

Yes. You need -ladvapi32 to get the Reg* stuff, which should've been
automatically, but obviously there is a glitch.

If you can live with egcs-1.00, try my pre-built distribution at
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/

Regards,
Mumit -- khan@xraylith.wisc.edu
http://www.xraylith.wisc.edu/~khan/



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

end of thread, other threads:[~1997-12-11  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-10  1:42 egcs on cygwin32 i586 op Span
1997-12-10  7:31 ` Mumit Khan
1997-12-11  3:50 op Span
1997-12-11  7:47 ` Mumit Khan

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