View previous topic :: View next topic |
Author |
Message |
JefP@@ Apprentice
Joined: 09 May 2002 Posts: 179 Location: Belgium
|
Posted: Fri May 10, 2002 2:34 pm Post subject: Mzscheme |
|
|
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 |
|
|
PaperCrane n00b
Joined: 11 Apr 2002 Posts: 25 Location: Nova Scotia
|
Posted: Fri May 10, 2002 6:21 pm Post subject: |
|
|
What are you CFLAGS? Sometimes over-agressive optimizations can cause the same symptoms you are having. |
|
Back to top |
|
|
JefP@@ Apprentice
Joined: 09 May 2002 Posts: 179 Location: Belgium
|
Posted: Sat May 11, 2002 3:52 pm Post subject: |
|
|
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 |
|
|
|