Message-ID: <3ADC5E71.764DF1E6@ma.tum.de> Date: Tue, 17 Apr 2001 17:17:05 +0200 From: Waldemar Schultz X-Mailer: Mozilla 4.75 [de] (Win98; U) X-Accept-Language: de,en-US MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: MINGW vs DJGPP References: <9bhhqg$bfo$1 AT talia DOT mad DOT ttd DOT net> <3ADC5345 DOT 8D25094F AT ma DOT tum DOT de> <3405-Tue17Apr2001180243+0300-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=iso-8859-1 X-MIME-Autoconverted: from 8bit to quoted-printable by sunrbg2.mathematik.tu-muenchen.de id RAA09437 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA20108 Reply-To: djgpp AT delorie DOT com Eli Zaretskii schrieb: > You could probably make it work with the `-fpack-struct' switch, but > I'd suggest not to try: it's a futile exercise. > > Either you need to read this struct from a program compiled by a > different compiler than the one used to write the struct, or you > don't. If you do need this, the best way is to read the data as a > byte stream into a buffer, then unpack the buffer into the struct > manually. But the best alternative is to read and write the file by > programs compiled with the same compiler. That's what I was afraid of. so I have to port all that huge project, data generation as well as data visualization - sigh. But thanks for the instant reply anyway. -- Gruss Waldemar Schultz. Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228