Sponsored Content
Top Forums UNIX for Advanced & Expert Users OpenSSL usage on Linux Distros Post 303042464 by Neo on Thursday 26th of December 2019 03:53:49 AM
Old 12-26-2019
You can compile 64 bit source code on 32 bit architecture.

For example, with gcc:

Code:
gcc -m32 my64bitcode.c -o my32bitcodeout

You may need to install gcc-multlib by using the following commands (ubuntu examples):

For C :
Code:
sudo apt-get install gcc-multilib

For C++:
Code:
sudo apt-get install g++-multilib

You can easily Google this situation and find many solutions.
 

5 More Discussions You Might Find Interesting

1. Ubuntu

Universal Repositories for All Linux Distros

Is it possible to use Other Distro's ( i.e Debian's or Ubuntu's ) repositories in Fedora? If not then what should be done to make common repositories for all linux distros. regards, Arun Maurya (2 Replies)
Discussion started by: arun_maurya
2 Replies

2. Linux

is there a guide for linux distros?

i`m trying to fidnd a distro that is good for m but it is not that easy i discovered, so if anybody please can give som tips i would been very happy thank you for reading:) (3 Replies)
Discussion started by: KMLiveLinux
3 Replies

3. Linux

Multiple linux distros in one box

Hi, This will be my first time to install 5 distros in one box, the ff. are: openSUSE 11, openSUSE11.1, Ubuntu 8.04, Ubuntu 8.10, Fedora 10 Now, I'm confused how would I partitioned my hard disk with a capacity of 80Gb where there is only one swap and no idea yet how to play with boot... (2 Replies)
Discussion started by: etcpasswd
2 Replies

4. Red Hat

Points to compare Linux distros

I 've a question regarding which points should be considered to compare 2 different linux distros say RedHat & Ubuntu. for a production environment non-db applications ... any help will be appreciated .. (1 Reply)
Discussion started by: fugitive
1 Replies

5. Fedora

On Installing Multiple Linux Distros on a Computer

Guys, I was planning to install Ubuntu, Fedora and Backtrack on the same computer (along with Windows 7). My Specifications are: 2.67 Core i5 4GB DDR3 RAM 500 GB HDD I have a system running Windows 7 with 3 partitions (240, 130, 130) GBs. And I was planning on freeing out 30GB of space and... (3 Replies)
Discussion started by: hMeU
3 Replies
APT-BUILD(1)						      General Commands Manual						      APT-BUILD(1)

NAME
apt-build - Fetch sources and build packages optimized for your architecture. SYNOPSIS
apt-build [ options ] [ update ] [ upgrade ] [ world ] [ install pkg ] [ remove pkg ] [ info pkg ] DESCRIPTION
apt-build is an apt-get frontend to build and install architecture optimized packages. COMMANDS
update Retrieve new lists of packages upgrade Perform an upgrade world Rebuild your system install Build and install new packages source Download and extract source in the build directory info Info on a package which could be built remove Remove packages clean-build Erase built packages clean-sources Call debian/rules clean in source directories build-source Build source without installing them update-source Update sources and rebuild them if they are missing in the repository build-repository Rebuild the repository OPTIONS
--help Shows help --nowrapper Do not use the gcc wrapper --remove-builddep Remove build-dependencies installed by apt-build --no-source Don't download source --build-dir Specify build-dir --build-only Build package only --rebuild Rebuild a package --reinstall Build and install an already installed package --build-command <command> Use this command to build package --patch <file> Apply this patch before build (you can use this option one or several times) --patch-strip, -p <number> Prefix to strip on patch (0 = -p0, 1 = -p1 ...) --yes, -y Assume yes --purge Use purge instead of remove --noupdate Do not run 'apt-get update' before package installation --sources-list Specify sources.list file --apt-get Specify an alternative apt-get command --apt-cache Specify an alternative apt-cache command --force-yes Force yes --source Do not download source (sources are extracted already) --repository-dir Specify the repository directory --target-release Distribution to fetch packages from --config Specify an alternative configuration file --version, -v Show version BUGS
Many. AUTHOR
apt-build was written by Julien Danjou <acid@debian.org> with many contributors. 3rd Berkeley Distribution November 2003 APT-BUILD(1)
All times are GMT -4. The time now is 05:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy