- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: gcc problem
Operating System - Linux
1753475
Members
4836
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 03:28 AM
тАО12-12-2008 03:28 AM
gcc problem
Hello I need to compile a 32bit application on a 64bit platfrom:
# uname -a
Linux pippo 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
if I run the gcc command with "-m32" option I get the following error:
# gcc -m32 -o output32 hello.c
In file included from /usr/include/features.h:352,
from /usr/include/stdio.h:28,
from hello.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
infact the stubs-32.h file is missing in my platform
Must I specify further options, or install additional software?
Many thanks
Giuseppe
# uname -a
Linux pippo 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
if I run the gcc command with "-m32" option I get the following error:
# gcc -m32 -o output32 hello.c
In file included from /usr/include/features.h:352,
from /usr/include/stdio.h:28,
from hello.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
infact the stubs-32.h file is missing in my platform
Must I specify further options, or install additional software?
Many thanks
Giuseppe
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 04:44 PM
тАО12-12-2008 04:44 PM
Re: gcc problem
"linux32" is a command that sets up the proper environment variables and gcc flags.
Under debian this is provided by the package:
util-linux
linux32 is a symbolic link to "setarch"
YMMV on other Linux versions
Under debian this is provided by the package:
util-linux
linux32 is a symbolic link to "setarch"
YMMV on other Linux versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 04:48 PM
тАО12-12-2008 04:48 PM
Re: gcc problem
You may want to check for util-linux-ng in your distribution. (Originally developed at Red Hat.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 12:33 AM
тАО12-13-2008 12:33 AM
Re: gcc problem
http://groups.google.se/group/linux.debian.ports.x86-64/browse_thread/thread/ded2c55b7e7b6a58
This is a good thread when you are trying to cross-compile.
This is a good thread when you are trying to cross-compile.
Debian GNU/Linux for the Enterprise! Ask HP ...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP