gray@diemen.utas.edu.au (Tony Gray) (01/04/91)
Hi all, I recently FTP'd the SOZOBON compiler from ATARI.ARCHIVE, along with the GULAM shell and ELVIS (trying to improve my knowledge of C). Trouble is, after I run ELVIS, the Sozobon linker (LD) will fail, with a message saying it can't open the output file. What is even more confusing is that if I quit out of Gulam and then restart, everything worts fine until I use ELVIS again. It seems as though ELVIS is doing something it shouldn't, but if this is the case why doesn't an earlier part of the compile stage fail? The problems occur when I use both MAKE and CC (as supplied in the Sozobon kit). My machine is a Mega 4 (TOS 1.2) and I run Gulam from Neodesk. I have tried disabling all of my AUTO folder utils and DA's, and even Neodesk, running Gulam directly from the inbuilt desktop, but I still get the problem at link time. If I use the -v option to CC (to see the progress of commands) I notice odd graphic characters after one of the file names passed to the linker, but these seem to be visible both when the linker works and when it doesn't. Also, if I use MAKE rather than CC (using just the simple form 'make xx.ttp') I can tell if it's going to work or not almost immediately - if MAKE displays the command it passes to CC then the I know the compile is going to work. If make doesn't display this, I get lots of disk accessing (ie., going through the compile stages) and then the link failure. Has anyone else seen this problem before? Can anyone suggest a fix? Heres hoping...! ------------------------------------------------------------------------- Tony Gray AARNET : gray@diemen.cc.utas.edu.au School of Applied Computing Phone : +61 03 260366 University of Tasmania - Launceston (was Tasmanian State Institute of Technology - Score : South 1, North 0!) -------------------------------------------------------------------------
gray@diemen.utas.edu.au (Tony Gray) (01/04/91)
Hi all, Further to the problem I reported earlier with SOZOBON C/GULAM/ELVIS, I seem to have stopped the problem with the loader not being able to write to the output file (somehow) - now I get the following: cc -v q0502.c <==my command to compile a program c:\sozobon\bin\hcc.ttp q0502.c c:\sozobon\bin\jas.ttp -l -u q0502.s c:\sozobon\bin\ld.ttp -p -u _main -o q0502.ttp -f ldfile.tmp Undef _main from \sozobon(main.o) Bad sym type cc: loader failed This happens only after I run ELVIS. If I quit GULAM and then rerun it and try the compile, all is dandy. Run ELVIS and bingo - she fails. By the way, ELVIS identifies itself as version 1.3, GULAM identifies itself as "beta test version 1.03.04.05 121887", and the Sozobon stuff is 1.2. Any thoughts? ------------------------------------------------------------------------- Tony Gray AARNET : gray@diemen.cc.utas.edu.au School of Applied Computing Phone : +61 03 260 366 University of Tasmania - Launceston (was Tasmanian State Institute of Technology - Score : South 1, North 0) -------------------------------------------------------------------------