From: psm@melbourneit.com.au (Phil Malin) Newsgroups: comp.lang.beta Subject: Beta on Linux trouble Date: Mon, 07 Dec 1998 04:35:10 GMT Organization: Magna Data - Internet Solutions Provider Lines: 46 Message-ID: <366b4a12.245890752@news.magna.com.au> NNTP-Posting-Host: psm.melbourneit.com.au X-Newsreader: Forte Free Agent 1.11/32.235 Path: news.cs.au.dk!news.net.uni-c.dk!howland.erols.net!newsfeed.berkeley.edu!newsgate.cuhk.edu.hk!news-hk.telia.net!d2o501.telia.com!news-hk.gip.net!news.gsl.net!gip.net!news.magna.com.au!not-for-mail Xref: news.cs.au.dk comp.lang.beta:11746 Hi all. I've recently downloaded the personal edition of Beta for Linux and am having trouble getting it going. I'm trying to compile the HelloWorld.bet example and get the following compiler output: ---- [whitedove]/usr/home/psm/src/beta% beta HelloWorld.bet Mjolner BETA Compiler version 5.3(4) for Linux (Intel 386/486/586/Pentium) (elf) Target machine type linux Building dependency graph for: 'HelloWorld' ... Translating fragments ... Linking Object program on file: HelloWorld shell-init: could not get current directory: job-working-directory: could not get current directory: (T @(T @ job-working-directory: could not get current directory: (T @(T @ [whitedove]/usr/home/psm/src/beta% ---- It does produce an executable but when I run it it core dumps. If I compile with the --static flag it produces the same output as above but it works ok. Has anyone else had this happen? One thing that happened, though, is originally it couldn't find the crtbegin.o or crtend.o files in /usr/lib. I created soft links in this directory to where they did exist, /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/crtxxxxx.o I'm really not sure about the ramifications of doing this. Has anyone got any suggestions? Thanks in advance for any help. Cheers. Phil Malin, Senior Systems Engineer Research and Technology Group, Melbourne IT 207 Bouverie St, Carlton, Victoria, Australia 3053 ph : +61-3-9344-9379 fax: +61-3-9347-9473