Sign in to follow this  
Guest Paul_S

Question for C++ experts

Recommended Posts

There is a file called fixup.c in the sd2gau14 package under the GCC directory. It contains the following :asm(".section .idata$3n" ".long 0,0,0,0, 0,0,0,0"); I'm a bit shaky with ASM but it looks like it's patching or adding something in an idata section.Who wrote it and what does it fix? So far my gauges and modules work fine without it.I was using MinGW 3.1.0. BTW : I have just installed Dev-C++ 5 beta 8 and am quite impressed!I couldn't stand trying to read compiler errors scrolling past on a tiny DOS console window.Now if I can just figure out what is bloating my gauge files.Used to be 12KB with just MinGW now it's 65KB in Dev-C++ after stripping out all the symbols. Paul

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Less then 24h for a bump is a bit impatiently I think... A lot of us don't have time for immediate response.To your question, AFAIK the fixup.c was originally introduced by Daniel Steiner for FS98 gauges for compiling with GNU C/C++ Compiler 2.95.2. We dragged it always through all the XXgauYY.zip series, but didn't check if it is still necessary to be honest. Nice information if it isn't needed any more, I'll have to check, but that can take time, I' extremely occuied in office at the moment.Arne Bartels

Share this post


Link to post
Share on other sites

>I'll have to check, but that can take time, I' extremely>occuied in office at the moment.>Arne BartelsNo, please don't waste your time checking Arne!I was just asking thinking that someone may know off the top of their heads why it was included.I'm not using it and so far I have had no problems.Paul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this