Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mzscheme
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JefP@@
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Fri May 10, 2002 2:34 pm    Post subject: Mzscheme Reply with quote

we're using the scheme language at school. Most of us use drscheme.

I couldn't find it in the portage tree, so I downloaded the source from inet and compiled it.
No problems so far, until I tried to run the install script (after configure make & make install, which all ended with no errors). the setup proggie gave a segmentation fault. Same with all the other executables I had compiled.

Wanted to figure this out a little more. So I compiled the mzscheme package, which came with the portage. After emerging succesfully, when I tried to exec the binary, it segfaulted too.

Now I've downloaded the binary version, which ofcourse runs without errors.

Why am I not able to compile drscheme from source ? (tried it also on another pc, slackware)
Is this related to the compiler or the glibc libraries ?

Thx & grtz
Back to top
View user's profile Send private message
PaperCrane
n00b
n00b


Joined: 11 Apr 2002
Posts: 25
Location: Nova Scotia

PostPosted: Fri May 10, 2002 6:21 pm    Post subject: Reply with quote

What are you CFLAGS? Sometimes over-agressive optimizations can cause the same symptoms you are having.
Back to top
View user's profile Send private message
JefP@@
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Sat May 11, 2002 3:52 pm    Post subject: Reply with quote

first I tried to compile with these options :
"-march=i686 -O3 -pipe"

when the binaries segfaulted, I changed the O flag to O2, like this:

"-march=i686 -O2 -pipe"

btw: if anyone could explain what the -pipe option does ... ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum