BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
gcc
Talkback
 Go back to the gcc page
 Post a new Talkback comment!
2.953 and Mozilla - "cannot execute binary"
 By SD - Posted on January 3, 2005 - 19:24:42   (#15264)
 Current version when comment was posted: 3.4.3
Something weird happens if i use gcc 2.953 to build mozilla uner R5 (netserver).
I set specs as symlink to specs.r5, but id didn't help.

So, what happens:
after successfull building of Mozilla under netserver, it is impossible to launch resulted binary at that R5 where it was built. Attempt results in weird message in shell - "cannot execute binary".
But much more weird is fact that same binary starts without problem when i booted R5+bone7a BeOS.

Any guess?

GCC 3.4.3 release update
 By ahwayakchih - Posted on December 27, 2004 - 18:22:24   (#15187)
 Current version when comment was posted: 3.4.3
On 2004-12-26 around 21:50:00 GMT i've updated zip file on server. Sorry everyone who downloaded file before that. Still it's not required to re-download it because changes were very small (and You may apply them by Yourself :)

Removed 3 header files from gnupro-3.4.3/i586-pc-beos/include/i586-pc-beos/be/:
- interface/InterfaceDefs.h
- support/Beep.h
- support/UTF8.h

and commented out two functions in gnupro-3.4.3/i586-pc-beos/include/i586-pc-beos/be/interface/GraphicDefs.h:
- bool bitmaps_support_space()
- status_t get_pixel_size_for()

All that to keep user from accidentally use them (ABI incompatibilities).

building network related code on 5.0.3
 By mmadia - Posted on December 27, 2004 - 18:11:18   (#15186)
 Current version when comment was posted: 3.4.3
i'm adding this here in case other people have issues building network related code on 5.0.3

quoted from
http://www.livejournal.com/community/bezilla/67073.html
entry by fyysik:

By default, in new gcc 2.953 file /boot/develop/tools/gcc-2.95.3_binutils-2.15/lib/gcc-lib/i586-pc-beos/2.95.3-beos-041202/specs
is symlink to specs.Default, which lacks -lnet entry.
So, in order to build Mozilla/Firefox successfully under netserver, you should relink it to specs.R5 in same folder.
Thanks to Marcin Konicki aka ahwayakchih aka ex-Shard for that tip!

Thanks!
 By gmiranda - Posted on December 26, 2004 - 00:28:20   (#15172)
 Current version when comment was posted: 3.4.3
Thanks for giving us an updated compiler!

Simply wonderful!
 By BryanV - Posted on December 17, 2004 - 17:03:48   (#15078)
 Current version when comment was posted: 2.95.3-beos-041202
Best gcc for BeOS I've ever used. Hands down.

Great work Oliver, this should be standard issue for anyone using R5. Much more stable, loads more reliable.

re: Patches
 By Oliver Tappe - Posted on December 12, 2004 - 13:16:01   (#15030)
 Current version when comment was posted: 2.95.3-beos-041202
Hi Peter,

good to know that gcc-2.95.3 works on Zeta Neo, too.

The two patches-archives that are included in the package (patches-binutils.zip and patches-gcc.zip) are there only in case someone wants to recompile binutils and/or gcc. These patches are the ones that are needed to get from the CVS-versions (at gcc.gnu.org) to the respective BeOS-versions.

It would of course be best to get these patches (esp. binutils) committed into the fsf-CVS tree, but that won't happen, as some of the patches are changing central pieces of code in a system-specific manner (in order to fix BeOS-"peculiarities"), which the binutils-maintainer isn't prepared to accept (and rightly so).

Ahwayakchih (who has done a port of gcc-3.4) and me are currently working together to find a set of improved patches that we might get into the fsf-CVS.

cheers,
Oliver

patches
 By moooooooo - Posted on December 12, 2004 - 12:18:37   (#15028)
 Current version when comment was posted: 2.95.3-beos-041202
Thanks for this. I'm using it on Zeta Neo and your instructions are fine.
One question:
do i need to apply the patches?
cheers
peter

O3
 By SD - Posted on December 5, 2004 - 12:54:47   (#14960)
 Current version when comment was posted: 2.95.3-beos-041202
Recently built full Mozilla Suite with this version and O3 optimization flags. Seems working nice so far (with 2.9 even O2 led to bugs).


My fault
 By tqh - Posted on December 4, 2004 - 17:46:36   (#14954)
 Current version when comment was posted: 2.95.3-beos-041202
libstdc++.r4.so did not copy correctly.

Hmm
 By tqh - Posted on December 4, 2004 - 15:33:46   (#14952)
 Current version when comment was posted: 2.95.3-beos-041202
Is it just me or is there something different with this one.

I've used the older versions, but after recompiling OpenTracker with this one I get 'Missing library'. This is on BONE.

Thanks!
 By BiPolar - Posted on November 13, 2004 - 10:34:42   (#14719)
 Current version when comment was posted: 2.95.3-beos-041111
Just that... Thank you!


re: Great work
 By Oliver Tappe - Posted on November 11, 2004 - 16:14:50   (#14707)
 Current version when comment was posted: 2.95.3-beos-041111
Thanks Jack!

> Should I also change the cpp headers in my beos installation
> with the ones included, then?

Yes, by all means do it, as the new headers contain many bugfixes, esp. a threadsafe std::string allocator.
Furthermore, they add more standard-classes (sstream and valarray for instance).

cheers,
Oliver

Great work
 By Jack Burton - Posted on November 11, 2004 - 14:46:23   (#14706)
 Current version when comment was posted: 2.95.3-beos-041111
I've been hoping for a fixed compiler for ages, since not any single other version we had was really good, for a reason or another. You've made a great service to the beos community :)

Now downloading...

P.S: Should I also change the cpp headers in my beos installation with the ones included, then ?



Comment Pages:    << prev  |  1  |  2  |  next >>
 
The Green Board
  Recent Downloads  -  # 85
Total Downloads  -  # 484
Total Views  -  # 205
User Ratings  -  N/A
  Dev. Languages
1.  BePodder - 9.80
2.  QEMU - 9.68
3.  ScummVM - 9.57
4.  cpu_fix - 9.42
5.  Jukebox - 9.40
6.  libdl.so - 9.40
7.  Haiku AGP busm... - 9.35
8.  vim6 - 9.31
9.  Beezer - 9.26
10.  HandBrake - 9.25
1.  BeOS 5 Perso... - 13,545
2.  Realtek RTL8... - 13,087
3.  Ati Radeon G... - 12,523
4.  Ensoniq Audio... - 7,533
5.  ATI Rage 128... - 7,429
6.  USB Joystick... - 5,635
7.  Broadcom 440x... - 5,397
8.  S3 Trio 64 v2... - 4,701
9.  USB Serial dr... - 4,700
10.  Intel Extreme... - 4,459
You are not logged in.
 Login

 
Unless otherwise noted, everything is copyright © 1999-2009 Haikuware. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.