Quantcast
Channel: The Old New Thing
Browsing all 24428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Taking symbols along for...

Why do we want magicNumber initialization to happen through g_InitMagicNumber exactly?

View Article


Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: You can override an LIB...

[This requires that the FP library be linked ahead of the static CRT. This is the sort of mistake most people will never figure out.]Surely not in ye olde classical linker days? But from what I recall,...

View Article


Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: You can override an LIB...

I think I'd go with Peter's approach, as corrected by Raymond (entry point pointing to dummy function and corrected by FP library's init code to point to FP argument handler). Anonymous123's approach...

View Article

Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Methinks Igor may be schizophrenic :-)

View Article

Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Mustn't leave out Jake Shimabukuro on ukulele www.youtube.com/watch

View Article


Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

And also from Comic Relief UK: http://youtu.be/VzLzuB4Wq2M

View Article

Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

JustSomeGuyYeah, voices in my head yelling at me to repost that answer in previous post. Do not know what to do.

View Article

Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Detached confusion sums it up for me too. It's a mish mash of a poor ballad, a poor rock song and a poor opera, all with rather poorly written and delivered lyrics. Can't understand why anyone would...

View Article


Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Nobody's linked to the He-Man version of Bohemian Rhapsody yet? For shame.www.youtube.com/watch

View Article


Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

I have a 'Flashbulb' memory of the first time I saw the video on the BBC1 prime time TV program "Top Of The Pops".  The whole family infront of the TV, we'd never really seen a music Video before....

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: You can override an LIB...

////// printf.c provides "printf, dummy_printf_do_f_impl, printf_do_f_fp"///void dummy_printf_do_f_impl(){ printf("Uh oh - you used %%f but didn't use the float keyword anywhere!!"); abort(); //...

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: You can override an LIB...

Well, in the case of my microcontroller compiler (avrgcc) there is no magic going on, you have to tell the linker explicitly which version you want. The default version doesn't include floating point....

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: You can override an LIB...

Sorry if I've misremembered this.In printf.c, declare extern (*printf__fp)();In fltused.c, define printf__fp.Then when printf wants to print a floating-point number it just invokes printf__fp and you...

View Article


Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Hi you may like to learn about the Bohemian Rhapsichord as well : static.echonest.com/.../index.html

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Taking symbols along for...

@Gregory: Um, simply because it is a contrived example used to describe the issue in general terms maybe?

View Article


Image may be NSFW.
Clik here to view.

re: The enduring cultural fascination with Queen's Bohemian Rhapsody

Never forget Richard Cheese: www.youtube.com/watch

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Sometimes you don't want a...

What are the consequences of splitting up libraries into one symbol per object file with regards to linking times?  In other words, is it going to take significantly longer to link N*M object files of...

View Article


Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Sometimes you don't want a...

@Adam Rosenfield: In the classical model, really long compile times. We now have /Gy (or is it something else) that fixes it by allowing .OBJ files to be broken up.

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Sometimes you don't want a...

Function level linking to the rescue?[Nope. We'll see more about this tomorrow. -Raymond]

View Article

Image may be NSFW.
Clik here to view.

re: Understanding the classical model for linking: Sometimes you don't want a...

I don't like the suggestion for consolidation based on dependencies.  Under that model, what seem like minor edits to a function would require it to be moved from file to file if the dependencies are...

View Article
Browsing all 24428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>