Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
static linked lynx ssl binary
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
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Sun May 25, 2003 11:13 pm    Post subject: static linked lynx ssl binary Reply with quote

I am trying to compile a static linked binary version of lynx web browser that will work on any i386 box. I did the configure then I did make LDFLAGS='-s -static'

problem is that the binary only works on my i686 box which has the compilier. Every package on my system is compiled for i686....The box that does not have a compiler is an i586 and lynx fails with an error: Illegal instruction

I thought maybe it is because the ssl libraries etc. are compiled for i686 & I may need to change my make.conf to i386 and then emerge -e lynx then recompile lynx ? can someone confirm if this is the correct thing to do ?

thanks
Back to top
View user's profile Send private message
iplayfast
l33t
l33t


Joined: 08 Jul 2002
Posts: 642
Location: Cambridge On,CA

PostPosted: Wed Jul 09, 2003 6:10 pm    Post subject: Reply with quote

I've come across a similar problem. Did you ever get a fix for this?
Back to top
View user's profile Send private message
taviso
Retired Dev
Retired Dev


Joined: 15 Apr 2003
Posts: 261
Location: United Kingdom

PostPosted: Sat Aug 09, 2003 2:51 pm    Post subject: Re: static linked lynx ssl binary Reply with quote

col wrote:
I thought maybe it is because the ssl libraries etc. are compiled for i686 & I may need to change my make.conf to i386 and then emerge -e lynx then recompile lynx ? can someone confirm if this is the correct thing to do ?


yep, thats the problem, you can use this script to check.

Remerging your entire system just to create a static binary for another system is a bit of overkill, but if its important you can do that.
_________________
--------------------------------------
Gentoo on Alpha, is your penguin 64bit?
--------------------------------------------------------
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