Sponsored Content
Full Discussion: Building a Compiler
Top Forums UNIX for Beginners Questions & Answers Building a Compiler Post 302980147 by gga on Wednesday 24th of August 2016 12:47:21 PM
Old 08-24-2016
Quote:
Originally Posted by kopfgeldjagar1
In an earlier thread, I mentioned that I needed something like Netcat or Socat to create a serial > IP connection. I realized after some thought that I had downloaded the netcat tarball, unpacked it and ended up with the uncompiled program. I attempted to put it together with cc and discovered that i have no compiler application on my production box. Google mentioned GCC, which I found the correct RPM's (including dependencies) for, and I was able to install most of then until I realized that I have a quandry:

Code:
[root@dev21 /home/dev/gcc] rpm -Uvh gcc-4.6.3-2.aix5.2.ppc.rpm
error: failed dependencies:gcc-cpp = 4.6.3-2 is needed by gcc-4.6.3-2

[root@dev21 /home/dev/gcc] rpm -Uvh gcc-cpp-4.6.3-2.aix5.2.ppc.rpm
error: failed dependencies: gcc = 4.6.3-2 is needed by gcc-cpp-4.6.3-2

A needs B needs A

Please explain this to me. Can i use the --nodeps flag?

I'm at a loss at this point. Any help would be appreciated.
I have exactly the same problem, did you manage to solve it?.
Code:
-bash-4.2# rpm -Uvh gcc-6.1.0-5.aix7.1.ppc.rpm
error: failed dependencies:
        gcc-cpp = 6.1.0-5 is needed by gcc-6.1.0-5
-bash-4.2# rpm -Uvh gcc-cpp-6.1.0-5.aix7.1.ppc.rpm
error: failed dependencies:
        gcc = 6.1.0-5 is needed by gcc-cpp-6.1.0-5

Moderator's Comments:
Mod Comment edit by bakunin: please use CODE-tags like the ones i have edited into your post. Thank you.

Last edited by bakunin; 08-24-2016 at 02:19 PM..
 

9 More Discussions You Might Find Interesting

1. IP Networking

building a server

hi, i am a pretty good linux user..but i have no idea on building a server witha domain and everthing. please help! (5 Replies)
Discussion started by: hamza11050
5 Replies

2. UNIX for Dummies Questions & Answers

Building a new PC

Hi, im building a new PC for my FreeBSD - sorry it's not really UNIX related but I dont really visit any other online forums, and lost ideas of people to ask, Basically would it work if bought this motherboard -... (0 Replies)
Discussion started by: ErNci
0 Replies

3. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

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

4. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

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

5. UNIX and Linux Applications

Help with building firewall

Hi, I've installed firewall builder into my operating system (PCLinuxOS) from the repository. Now I need to configure and make run firewall builder in the main server (production server) of my company. The technique that I want to use is pushing the script from my laptop (where I've got the... (3 Replies)
Discussion started by: anaigini45
3 Replies

6. Red Hat

Building a ppc476 enabled GCC cross compiler and toolchain

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

7. UNIX for Advanced & Expert Users

Building a ppc476 enabled GCC cross compiler and tool chain

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

8. Linux

Building a ppc476 enabled GCC cross compiler and tool chain

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

9. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
Module::Install::Compiler(3pm)				User Contributed Perl Documentation			    Module::Install::Compiler(3pm)

NAME
Module::Install::Compiler - Commands for interacting with the C compiler SYNOPSIS
To be completed DESCRIPTION
Many Perl modules that contains C and XS code have fiendishly complex Makefile.PL files, because ExtUtils::MakeMaker doesn't itself provide a huge amount of assistance and automation in this area. Module::Install::Compiler provides a number of commands that take care of common utility tasks, and try to take some of intricacy out of creating C and XS modules. COMMANDS
To be completed TO DO
The current implementation is relatively fragile and minimalistic. It only handles some very basic wrapper around ExtUtils::MakeMaker. It is currently undergoing extensive refactoring to provide a more generic compiler flag generation capability. This may take some time, and if anyone who maintains a Perl module that makes use of the compiler would like to help out, your assistance would be greatly appreciated. SEE ALSO
Module::Install, ExtUtils::MakeMaker AUTHORS
Refactored by Adam Kennedy <adamk@cpan.org> Mostly by Audrey Tang <autrijus@autrijus.org> Based on original works by Brian Ingerson <ingy@cpan.org> COPYRIGHT
Copyright 2002, 2003, 2004, 2006 by Adam Kennedy, Audrey Tang, Brian Ingerson. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.14.2 2012-03-01 Module::Install::Compiler(3pm)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy