I'm very good at programming in C++ but when it gets to linking and the other important stuffs I feel very ignorant. I want to learn allegro without wasting time. So please suggest a book or a resource to learn the concepts mentioned above. Thanks a lot in advance.
|
I wouldn't spend time on any book. There's really not much knowledge here. Use Wikipedia, Google, and unix man to
This is more or less it. |
||||
|
|
|
Linkers and Loaders by Levine was very good. We use this textbook at OSU in our Assembler, Linker, Loader, Compiler Design course. |
|||||||||||||
|
|
You don't have to learn Eventually, you probably will want to learn it, but you don't have to if you're just starting out. Eclipse will be able to 90% of the stuff you need via it's GUI and wizards, etc. For example, this page explains how to get started with Allegro under Eclipse. That page does appear to make some assumptions about your knowledge of Linux, but I'm sure with a bit of googling you should be able to find some more thorough references (that was just the first page I found). |
|||||||||
|
|
Understand make, and it will be your best friend. Make is a kind of dataflow system. In a dataflow system you buld the application from components, by connecting their input and output ports, where they send messages (data packets, or sometimes only triggers), so they finally form a processing network. See Wikipedia dataflow programming and flow-based programming articles. In the case of make, the components are the compilation units, the messages are changes of files (source, object, other resource). When a file changes, it triggers a component (a compiling node), then the component, after doing its task, producing outputs, and triggering other components, which are doing same way, until the message chain reaches the final (sink) component, which produces a.out. Opposite to other dataflow architectures, make does not run continously. you have to launch it, when you feel that a file has changed, and it will trigger a component. If you run make when there's no changed files, so no component will be triggered, it says a "nothing to do" message and stops. If there're paralell paths in the dataflow net, make can run components paralell, try make -j option. (It's an interesting effect that the G++ itself does not utilize multiple processors, but it does with the help of make.) Making a good makefile is not trivial, but if you think of make as a dataflow application builder, it can be a very effective tool. |
|||
|
|
I want to learn allegro without wasting time. conflict detected. if you want to develop a game without wasting time, start with a complete game engine like Quake [yes, i've used Allegro.] |
|||
|
|

autoconfis good for what its meant to be used for... – alternative Nov 14 '10 at 20:25