Path: news.daimi.aau.dk!not-for-mail From: Morten Grouleff Newsgroups: comp.lang.beta Subject: Re: Compiler Date: Wed, 6 May 1998 18:49:54 +0200 (MET DST) Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 51 Approved: mailtonews@daimi.aau.dk Distribution: world Message-ID: <199805061649.SAA02136@noatun.mjolner.dk> Reply-To: Morten Grouleff NNTP-Posting-Host: daimi.daimi.aau.dk Xref: news.daimi.aau.dk comp.lang.beta:11562 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" **