Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Function ordering under GCC   Message List  
Reply | Forward Message #10264 of 15019 |
Re: [gbadev] Function ordering under GCC

Hello Mat,

Friday, March 01, 2002, 1:01:44 AM, you wrote:

M> Hi

M> Does anyone know how to force GCC to order functions in memory in the order
M> in which they are declared in the source file?

AFAIK, thats not really possible ;/

what you CAN do though, is compiling those functions to seperate
objects and link them in the order you'd like them to appear in the
binary - that SHOULD do the trick (maybe ;D)

--
Best regards,
groepaz mailto:groepaz@...






Fri Mar 1, 2002 11:31 am

groepaz2000
Offline Offline
Send Email Send Email

Forward
Message #10264 of 15019 |
Expand Messages Author Sort by Date

Hi Does anyone know how to force GCC to order functions in memory in the order in which they are declared in the source file? Thanks Mat...
Mat
matth@...
Send Email
Mar 1, 2002
12:37 am

... I thought it had a tendency to do that anyway? Unless of course the functions are forced into different sections. I've seen code that relies on this...
Kriss Daniels
yahxix
Offline Send Email
Mar 1, 2002
11:37 am

Hello Mat, Friday, March 01, 2002, 1:01:44 AM, you wrote: M> Hi M> Does anyone know how to force GCC to order functions in memory in the order M> in which they...
groepaz
groepaz2000
Offline Send Email
Mar 1, 2002
11:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help