Path: news.daimi.aau.dk!solgaard From: solgaard@daimi.aau.dk (Hans Erik Stubbe Solgaard) Newsgroups: comp.lang.beta Subject: Re: Compiler Date: 12 May 1998 15:38:42 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 78 Message-ID: <6j9qe2$4hr$1@nf.aau.dk> References: <199805061649.SAA02136@noatun.mjolner.dk> NNTP-Posting-Host: barium.daimi.aau.dk X-Newsreader: NN version 6.5.1 (NOV) Xref: news.daimi.aau.dk comp.lang.beta:11569 I have now created c:\tmp as BASH requested! And I am not including any resources of any kind!! Now the compiler gives me: Mjolner BETA Compiler version 5.3(4) for WinNT/Win95 (i386/i486/Pentium)(PE coff) Target machine type nti(gnu) Building dependency graph for:'program'... Translating fragments... Linking ld:cannot open -lgcc: No such file or directory gcc:Internal compiler error: program ld got fatal signal 1 What compiler error is this?? And how do I solve the problem? Regards Hans Solgaard In <199805061649.SAA02136@noatun.mjolner.dk> Morten Grouleff writes: >solgaard@daimi.aau.dk (Hans Erik Stubbe Solgaard) writes: >> Since I installed the new version of BETA; r4.1, I haven't been able to >> compile any programmes, using the GNU SDK and libraries. >> Under here you can see an example om my problem! >> Does anyone know how to solve the problem?! >> >> Screen-shot from compiling 'program.bet' with the recource >> 'printer.rc' >You need a resource compiler to use resources. Have you got one? >You should compile the resource by hand, as the BETA compiler does not know >how to invoke a GNU resource compiler yet. Place the resulting .RES file >in the \nti\gnu directory, as the compiler generates the >linkdirective assuming that. >PS. You should create a c:\tmp directory, as BASH requests you to do. >PPS. If someone has a GNU resource compiler, please let >support@mjolner.com know about it, so that this problem may be fixed! >> Mjolner BETA Compiler version 5.3(4) >> for WinNT/Win95 (i386/i486/Pentium) (PE coff) >> Target machine type nti(gnu) >> Building dependency graph for: 'program' ... >> Translating fragments ... >> WARNING: bash couldn't find /tmp, please create one! >> Resource c:beerprogprinter.rc >> Ignoring GNU resource-compiling of: printer.rc >> Linking >> ld: cannot open -lgcc: No such file or directory >> gcc: Internal compiler error: program ld got fatal signal 1 >> >> >> My environment variables: >> >> ASM_VERSION=1 >> BETALIB=C:\BETA >> C_INCLUDE_PATH=C:\GNU\MINGW32\USR\INCLUDE;C:\GNU\MINGW32\USR\INCLUDE\NONANSI >> GCC_EXEC_PREFIX=C:\GNU\MINGW32\USR\LIB\GCC-LIB >> LIBRARY_PATH=C:\GNU\MINGW32\USR\LIB >> PATH=C:\BETA\BIN;C:\GNU\MINGW32\USR\BIN;C:\GNU\CYGNUS32\USER;%PATH% >> SDK=gnu >Regards, >-- >** Morten Grouleff ** >** Earthworm Jim PC: ** >** "Nick Nolte er ret god til at spille Ulf Pilgaard" ** -- Hans Solgaard 4E Ronson Grosvenor Street M1 7HR Manchester