Thread '64bits and ia32_libs'

Message boards : API : 64bits and ia32_libs
Message board moderation

To post messages, you must log in.

AuthorMessage
[AF>Le_Pommier>MacGeneration.c...

Send message
Joined: 10 Nov 09
Posts: 5
Belgium
Message 31125 - Posted: 20 Feb 2010, 13:52:33 UTC

Hi,

I'm not sure i'm posting in the right section :/
If not please apologize me and direct me to the right place :)
(and sorry for my poor english, i'm not a native speaker)

Here is my problem :
I want to build a boinc app for Linux 64bits (x86_64).
I've downloaded the source code of boinc, built it on my Ubuntu64bits
I've built the example_app (UpperCase) with my Linux64bits
And i thought it was all i have to do !

But when running the app, it seems that ia32_libs is needed to run my app on 64bits host.

Is it normal ? Is there a way to avoid that ? How can i be sure that my app is really compiled in 64bits ?
(any options to add in the Makefile ? like -m64 for gcc ?)

Thanks for your help.
ID: 31125 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 31154 - Posted: 22 Feb 2010, 4:09:55 UTC - in response to Message 31125.  

Some versions of Linux don't provide the 32 bit files which are necessary to run 32 bit apps on 64 bit systems.
You can find out how to get the extra files in this section of the BOINC Wiki article: Installing_on_Linux.

ID: 31154 · Report as offensive
[AF>Le_Pommier>MacGeneration.c...

Send message
Joined: 10 Nov 09
Posts: 5
Belgium
Message 31171 - Posted: 22 Feb 2010, 17:03:24 UTC

Hi,

Thanks for your replies.

I don't know what went wrong the first time, but my 64bit app is now really 64bits and independent of ia32-libs :)

Thank you very much for the command "file" i didn't know it and it's very useful.
ID: 31171 · Report as offensive

Message boards : API : 64bits and ia32_libs

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.