Or for that matter, any other languages that would be fun to play with in an
easy to port package? Maybe something like FreePascal might be neat :-)
Thanks!
-Rom
Why do you have to port it? All you'll have to do is rewrite the
libraries.
Check LCC
David.
You can't run an executable from one OS into another, with
some exceptions...
Regards,
David.
cross compile the compiler with the rewritten libraries.
How much does the GCC source depend on Unix system calls
such as fork(), exec() or the the Unix filesystem calls?
Or does GCC for the most part use the plain vanilla standard
library functions?
Marv
I was wondering if gcc had any dependencies on other syscalls other than the
C standard library. If so, my job could become a nightmare depending on the
source.
Of course I could dwelve right into the source and find out, but I was
wondering if anyone had any experience with it.
Thanks for all the responses!
-Rom
"Barry Watson" <Barry....@uab.ericsson.se> wrote in message
news:3DA6974B...@uab.ericsson.se...
Of course, if it's a retargetable compiler... which I guess
LCC is the easiest to try...
Regards,
David.
Try gcc 1.42 or gcc 1.40. They're quite good and easy to port.
I assume you have linux or DJGPP with GNU tools.
If you want underbars with symbols type run config.gcc shell script with
parameter i386g, but if you don't want them run it with i386v parameter.
Then type make and hope it worked. You will have gcc,cpp and cc1 (if you
compile under linux), for DOS you have to modify makefile ot compile it by
hand (the best way to do it in DOS. I've done it :).
Best regards
Jarek Pelczar
jar...@wp.pl
Too much. There is no reason why something that could
clearly be a 100% ISO C program should be loaded with
calls to non-standard routines like open().
However, the use of fork/exec is isolated last time I looked,
and in fact, I did the sensible thing which is to create a
non-default compile option to convert gcc into one large
executable.
I also wrote unixio.c, which is in OZPD in the programming
section at www.kerravon.w3.to
> Or does GCC for the most part use the plain vanilla standard
> library functions?
I've never understood why people prefer to program in a
compiler instead of a language.
BFN. Paul.