Building a Compiler


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Building a Compiler
# 8  
Old 05-13-2016
Before things get too crazy maybe take a look at netcat.pl

I think you'd use it like cat file | ./netcat.pl server:port
# 9  
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..
# 10  
Old 08-24-2016
First off: welcome to the forum, but PLEASE use code-tags!

Quote:
Originally Posted by gga
I have exactly the same problem, did you manage to solve it?.
See above, i posted the solution: install one of the packages with the --nodeps-option. I know this to work because i did so and it worked for me with (in the meantime) several versions of the gcc-compiler.

I hope this helps.

bakunin
# 11  
Old 08-24-2016
So simple!. Thanks a lot bakunin. Sorry about the code-tags thing.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question