Mail Archives: djgpp/1997/01/26/08:16:17
nikki wrote:
>
> then i compiled another piece of code, something.c under rhide, i forget what the command line version of that would be in gcc but i get another .o file. and finally..
>
> gcc -o test wibble.o something.o
This may sound silly, but have you tried reversing the order of the
files on the command line? Maybe putting something.o before wibble.o
will make it work right.
Also try prepending an underscore before the name of the label in the
assembly module. DJGPP expects all identifiers in object code to have a
prepended underscore.
P.S.: Please try to keep your lines shorter than 80 characters - they
are very hard to read.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Call me for your free AOL disk! | http://www.cs.com/fighteer |
| Chain letters, work-at-home schemes, free long distance, etc., |
| are ILLEGAL! Keep the Internet litter-free... don't SPAM. |
---------------------------------------------------------------------
- Raw text -