This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Wed, 7 Apr 1999, Kai Ruottu wrote: > > A question : What one needs for making executables? (This should have been > told in every C-language course...) A hint: Having the compiler, assembler > and linker is not enough, something else is also needed... Hmm. In the name of simplicity, Duke CS doesn't cover some of those things until very late in the game. Like, say, next semester :-) Their (our?) philosophy is that it is more motivational to write code first and then figure out how exactly the background stuff works later. I suppose it works OK, as long as you don't intend to do anything outside of class. > Ok, it is the C-library (libc.a) with the startup routine (crt0.o) and > perhaps yet something else. No library and startup files -- no executables... Thanks, Kai. That would explain why it works, despite the error message. I don't know if any of you are aware, but the new Lego Mindstorms robotics kit uses a hitachi chip. Due to the limitations of the standard Lego software, Markus Noga (http://www.multimania.com/legos/.) wrote an "OS" for it, to be compiled with egcs/gcc, which has an abridged standard C library. Very abridged. malloc, calloc, and free. For the purposes of the legOS, that's all that's necessary. Anyway, thanks for the explanation. I appreciate the help. Luis ####################################################################### "They call the faithful to their knees to hear the softly spoken magic spell:" "There's no place like home... There's no place like home... There's no place like home." -Pink Floyd, Dark Side of the Moon -Dorothy, The Wizard of Oz ####################################################################### _______________________________________________ New CrossGCC FAQ: http://www.objsw.com/CrossGCC _______________________________________________ To remove yourself from the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'unsubscribe' (without the quotes) in the body of the message.