public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Building GDB problem
       [not found] <@MHS>
@ 1997-08-06  2:29 ` STEPHANE.S.P.PERIO
  1997-08-06 10:37 ` Luke Diamand
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: STEPHANE.S.P.PERIO @ 1997-08-06  2:29 UTC (permalink / raw)
  To: Receipt Notification Requested

Hi,
I apologize if this is an FAQ, but i see nothing about that in the mailing
lists.
I'm using gnu win32 b18 on NT 4.0 SP3 and i failed to build GDB.
Under bash, in the directory my-gdb, i run ../gdb/configure and it recognized
correctly the i386-pc-cygwin32 environment.
When i run make, the first problem i have is that the include files malloc.h
and bfd.h are missing but i found a copy of them in
/cdk/newlib/libc/stdlib/malloc.h and /gnuwin32/b18/include/bfd.h.
Are these two files the correct ones ?
If i use them, the make stops when compiling the i386-tdep.c file with the
error :

../gdb/i386-tdep.c: In function `get_longjmp_target':
../gdb/i386-tdep.c:592: `SP_ARG0' undeclared (first use this function)
../gdb/i386-tdep.c:592: (each undeclared identifier is reported only once
../gdb/i386-tdep.c:592: for each function it appears in.)
../gdb/i386-tdep.c: In function `set_assembly_language_command':
../gdb/i386-tdep.c:698: `bfd_mach_i386_i386' (first use this function)
../gdb/i386-tdep.c:698: `bfd_mach_i386_i8086' (first use this function)
../gdb/i386-tdep.c: In function _initialize_i386_tdep':
../gdb/i386-tdep.c:709: `bfd_mach_i386_i386' (first use this function)

Can someone help me ?
Thanks in advance.
S. PERIO

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

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

* Building GDB problem
       [not found] <@MHS>
  1997-08-06  2:29 ` Building GDB problem STEPHANE.S.P.PERIO
@ 1997-08-06 10:37 ` Luke Diamand
  1998-01-09  6:42 ` IOCTL NOT SUPPORTED ??? LAURENT.L.G.GEOFFROY
  1998-01-09 18:22 ` Tim Newsham
  3 siblings, 0 replies; 4+ messages in thread
From: Luke Diamand @ 1997-08-06 10:37 UTC (permalink / raw)
  To: STEPHANE.S.P.PERIO; +Cc: Receipt Notification Requested

Hi!


STEPHANE.S.P.PERIO@tts.thomson.fr writes:
 > Hi,
 > I apologize if this is an FAQ, but i see nothing about that in the mailing
 > lists.
 > I'm using gnu win32 b18 on NT 4.0 SP3 and i failed to build GDB.
 > Under bash, in the directory my-gdb, i run ../gdb/configure and it recognized
 > correctly the i386-pc-cygwin32 environment.

I think your problem is that in order to build gdb, you also need to
have already built bfd, mmalloc, readline, and various other bits and
bobs.

The simplest thing to do is to build the whole lot in one go - it
takes a long time and a lot of disk space but is easier all round.

You want to say:

% mkdir /gnuwin32/b18/build
% cd /gnuwin32/b18/build
% ../cdk/configure 
% make

Cheers!
Luke Diamand
-- 
Advanced Telecommunications Modules Ltd
Cambridge
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* IOCTL NOT SUPPORTED ???
       [not found] <@MHS>
  1997-08-06  2:29 ` Building GDB problem STEPHANE.S.P.PERIO
  1997-08-06 10:37 ` Luke Diamand
@ 1998-01-09  6:42 ` LAURENT.L.G.GEOFFROY
  1998-01-09 18:22 ` Tim Newsham
  3 siblings, 0 replies; 4+ messages in thread
From: LAURENT.L.G.GEOFFROY @ 1998-01-09  6:42 UTC (permalink / raw)
  To: Receipt Notification Requested

Is the IOCTL function supported in cyg-win32 environment ?
I tried to use it but without sucess on the b17 release installed on NT 4.0 sp3.
Is there any list embedding all the unimplemented function calls ?
TIA
Laurent GEOFFROY
geoffroy@tts.thomson.fr
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: IOCTL NOT SUPPORTED ???
       [not found] <@MHS>
                   ` (2 preceding siblings ...)
  1998-01-09  6:42 ` IOCTL NOT SUPPORTED ??? LAURENT.L.G.GEOFFROY
@ 1998-01-09 18:22 ` Tim Newsham
  3 siblings, 0 replies; 4+ messages in thread
From: Tim Newsham @ 1998-01-09 18:22 UTC (permalink / raw)
  To: LAURENT.L.G.GEOFFROY; +Cc: gnu-win32

> Is the IOCTL function supported in cyg-win32 environment ?
> I tried to use it but without sucess on the b17 release installed on NT 4.0 sp3.
> Is there any list embedding all the unimplemented function calls ?

There is an ioctl function, but it does not support all io control
codes.  You are restricted to the codes explicitely provided by
the cygwin.dll as there is no mechanism for translating between
the unix ioctl function and the win32 device control function.
You can mix win32 device controls with your cygwin code, though.

> Laurent GEOFFROY
> geoffroy@tts.thomson.fr

                                                Tim N.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1998-01-09 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <@MHS>
1997-08-06  2:29 ` Building GDB problem STEPHANE.S.P.PERIO
1997-08-06 10:37 ` Luke Diamand
1998-01-09  6:42 ` IOCTL NOT SUPPORTED ??? LAURENT.L.G.GEOFFROY
1998-01-09 18:22 ` Tim Newsham

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