Date: Wed, 23 Dec 1998 13:31:17 +0200 (EET) From: Toni Rasanen X-Sender: torasane AT paju DOT oulu DOT fi To: djgpp AT delorie DOT com Subject: Structs in pointers and something of BINUTILS In-Reply-To: <199812230908.XAA17597@v1.vision1.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Reply-To: djgpp AT delorie DOT com Oh, C fundamentals... I have a struct defined. It worked fine while I kept in in data; struct structtype structs[100]; However, when I modified them to be pointers, compiler no longer finds members of structure; struct structtype *structs[100]; ... *structs[i].member = ... What's the proper way to access that struct? I have tried everything I can think of, but without any success... Also, I tried to recompile binutils' OBJCOPY, but without success. It seems that I need something else too to compile (or even configure) it, in addition of normal djgpp binaries. WHAT do I need? /// Toni Räsänen /// torasane AT mail DOT student DOT oulu DOT fi \\\ Physicians ask how. Filosofians ask why. Dragons don't care.