9 More Discussions You Might Find Interesting
1. Programming
recently i was been to an interview to an automotive company, they have posed me a question that what section of compiler must be changed if the target is changed.
ie,if ur compiler is meant for generating executable to a 8051 target what changes do you do to make it flexible to generate the... (2 Replies)
Discussion started by: shyam.sunder91
2 Replies
2. Linux
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
3. UNIX for Advanced & Expert Users
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
4. Red Hat
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (0 Replies)
Discussion started by: raghuhb
0 Replies
5. Red Hat
While i try to install the gcc cross compiler using following commands in fedora 6
commands
cd /etc/yum.repos.d/
# wget http://fedora-arm.wantstofly.org/cross/cross.repo
# yum install armv5tel-redhat-linux-gnueabi-gcc
i got an error
# cd yum.repos.d
# wget... (3 Replies)
Discussion started by: sujith4u87
3 Replies
6. SuSE
Hi All
I want to create build machine for three architecture (i386, amd64 and ia64) on 32bit machine on OpenSUSE 10.0
I installed:
cross-i386-gcc-icecream-backend-4.3.1_20080507-7.1
cross-i386-binutils-2.18.50.20080409-12.1
cross-x86_64-gcc-icecream-backend-4.3.1_20080507-7.1... (0 Replies)
Discussion started by: Kolesar
0 Replies
7. Linux
Hi,
I am building GCC cross compiler for x86_64-elf
for that a have followed steps,
1. mkdir build-gmp build-mpfr
2. cd build-gmp
3. ../gmp-4.2/configure --prefix=/usr/local
4. make all install
5. make check
6.cd ../build-mpfr
7. ../mpfr-2.3.2/configure... (5 Replies)
Discussion started by: Mandar123
5 Replies
8. Linux
Hi
I compiled a hello world program on two different 64-bit Linux machines, named quimby and node0331. When I compile on quimby and run on node0331 I get a "Floating exception (core dumped)" error. But if I do it in reverse, things work fine.
Here's my compilation on quimby:
$ uname -a... (3 Replies)
Discussion started by: same1290
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
PERLDGUX(1) Perl Programmers Reference Guide PERLDGUX(1)
NAME
perldgux - Perl under DG/UX.
SYNOPSIS
One can read this document in the following formats:
man perldgux
view perl perldgux
explorer perldgux.html
info perldgux
to list some (not all may be available simultaneously), or it may be read as is: as README.dgux.
DESCRIPTION
Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
BUILDING PERL ON DG
/UX
Non-threaded Perl on DG/UX
Just run ./Configure script from the top directory. Then give "make" to compile.
Threaded Perl on DG/UX
If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for configuring perl in your DG/UX machine is to run the command:
./Configure -Dusethreads -Duseithreads -Dusedevel -des
This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX)
knows the switch -pthread which allows it to link correctly DG/UX's -lthread library.
If you want to change the installation directory or have a standard DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
interactive build by issuing the command:
./Configure -Dusethreads -Duseithreads
In particular with GCC-2.7.2.x accept all the defaults and *watch* out for the message:
Any additional ld flags (NOT including libraries)? [ -pthread]
Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the DG/UX OS does NOT know the -pthread switch. So your build will fail
if you choose the defaults. After configuration is done correctly give "make" to compile.
Testing Perl on DG/UX
Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a result something like
lib/ftmp-security....File::Temp::_gettemp:
Parent directory (/tmp/) is not safe (sticky bit not set
when world writable?) at lib/ftmp-security.t line 100
don't panic and just set the sticky bit in your /tmp directory by doing the following as root:
cd / chmod +t /tmp (=set the sticky bit to /tmp).
Then rerun the tests. This time all must be OK.
Installing the built perl on DG/UX
Run the command "make install"
AUTHOR
Takis Psarogiannakopoulos University of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road
Cambridge CB3 0WB , UK email <takis@XFree86.Org>
SEE ALSO
perl(1).
perl v5.18.2 2014-01-06 PERLDGUX(1)