12-08-2006
This is what's known as cross-compilation, and it's not that simple. gcc can be configured to cross-compile, yes, but that's not usually installed as standard, it's not as easy as "add sparc module", and there's more to it than the compiler. You need the Solaris headers and libraries, too -- after all you're compiling for Sparc/Solaris, not Sparc/GNU. Even if you do get a working sparc compiler on x86, you could be plagued with weird issues. You wouldn't even have a way to test your executables.
My suggestion would be to just get a sparc on ebay.
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
We are porting our application from 32bit to 64bit.
We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings.
But we are not getting any porting warninings
WE are using CC 5.5 compiler on sparc-solaris m/c.
Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
2. Solaris
Hi there,
I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server.
*I have re-compiled the linux kernel t support ufs fstype with ro mount support.
filesystem on solaris:... (3 Replies)
Discussion started by: ilan
3 Replies
3. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
4. AIX
Hi ,
I want to know which debugger can I use to debug application built using Xl CC compiler .I know dbx,gdb debuggers just want to find out whether I can use for debugging XL CC compiler generated build.
Thanks (1 Reply)
Discussion started by: kittu1979
1 Replies
5. Linux
Hi ,
I am exploring the nmap utility for Linux.
I know that, nmap binaries are specific to the platforms e.g. nmap binaries will be diferent for Windows , AIX , Solaris and Linux platforms.
Can anyone tell me , will the nmap binaries be different for different flavours of Linux such as... (1 Reply)
Discussion started by: jatin56
1 Replies
6. Web Development
Hello ,
I have s Solaris 10 10/09 s10x_u8wos_08a X86 OS.
I installed Apache 1.3.34 and MYSQL 5.1.50.
while executing the following command to compile the mod_auth_mysql.c module
sudo ./apxs -c -L/d00/tbls/mysql/lib -I/d00/tbls/mysql/include -lmysqlclient -lm -lz mod_auth_mysql.c.
result of it... (2 Replies)
Discussion started by: cnighojkar
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus
can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?
regards,
Israel. (9 Replies)
Discussion started by: iga3725
9 Replies
8. Shell Programming and Scripting
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info... (1 Reply)
Discussion started by: mssprince
1 Replies
9. Red Hat
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info ... (4 Replies)
Discussion started by: mssprince
4 Replies
LEARN ABOUT DEBIAN
xeno-config
XENO-CONFIG(1) Xenomai XENO-CONFIG(1)
NAME
xeno-config - Display Xenomai libraries configuration
SYNOPSIS
xeno-config
xeno-config --v | --verbose
xeno-config --help
xeno-config [--version] [--cc] [--arch] [--prefix] [--xeno-cflags] [--xeno-ldflags] [--posix-cflags] [--posix-ldflags]
[--lib*-dir|--library-dir|--libdir|--user-libdir]
DESCRIPTION
xeno-config is a script that is used to to display the compiler and linker flags that are required for building applications that use Xeno-
mai. Any combination of options can be chosen (except --verbose and --help) to display configuration information, and options can be given
in any order. The command output one line for each option, in the same order as the options.
When xeno-config --verbose is executed, all configuration information is displayed in a different, more human-readable format.
When xeno-config is executed without any options, the output is equivalent to than when executing xeno-config --verbose then xeno-config
--help.
OPTIONS
--v, --verbose
Outputs all configuration information, in a human-readable format.
--help Outputs the list of available command-line options.
--version
Outputs one line with the installed Xenomai version.
--cc Outputs one line with the path to the C compiler command that was used to compiled Xenomai.
--arch Outputs one line with the architecture to compile to, e.g. i386. May be different from the architecture of the currently running
system, if cross-compiling.
--prefix
Outputs one line with the absolute path to the base Xenomai installation directory.
--xeno-cflags
Outputs one line with the C compiler command-line options that are necessary to compile applications that use the Xenomai libraries.
--xeno-ldflags
Outputs one line with the C compiler command-line options that are necessary to link applications against the Xenomai libraries.
--posix-cflags
Outputs one line with the C compiler command-line options that are necessary to compile applications that use Xenomai's Posix-com-
patible layer library.
--posix-ldflags
Outputs one line with the C compiler command-line options that are necessary to link applications against Xenomai's Posix-compatible
layer library.
--lib*-dir, --library-dir, --libdir, --user-libdir
Outputs one line with the absolute path to Xenomai's libraries. In the --lib*-dir option name, the * is meant as a wildcard:
--lib-dir, --libfoo-dir and --libbar-dir are all valid and synonymous options.
ENVIRONMENT VARIABLES
DESTDIR
If the DESTDIR variable is set, its content is prepended to the Xenomai installed directories and files names output by the --prefix
and --library-dir options, and to the Xenomai installation directories in the flags output by the --xeno-cflags, --xeno-ldflags,
--posix-cflags, --posix-ldflags options.
If DESTDIR was set when compiling and installing Xenomai, e.g. for cross-compilation, DESTDIR must be set to the same value before
calling xeno-config, in order to output valid directory and file names.
RETURN CODES
0 Successful script execution.
1 The --posix-ldflags option has been given but Posix support is not available in Xenomai; or an invalid argument has been given on
the command-line.
2.6.0 2006-03-27 XENO-CONFIG(1)