🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #8559

Re: gcc server.c -b i386v -o hola

#8559
From: Lepton
Date: Thu, 31 Oct 2002 07:36
28 lines
1919 bytes
On Wed, 30 Oct 2002, Antonio wrote:

# Hola a todos cuando lanzo lo siguiente me da esto:
#
# linux# gcc holamundo.c -b i386v -o hola
# gcc: installation problem, cannot exec `cpp0': No such file or directory
# gcc: file path prefix `/usr/lib/gcc-lib/i386v/2.95.4/' never used
#
# Me gustaria sader dos coas:
# �que hace exactamente la opcion -b i386v (lo que pretendo es compilarlo de
# forma que el ejecutable se pueda ejecutar en windows)?

Pues eso sera suponiendo que tienes instalado el 'back-end' para
Windows, en el directorio /usr/lib/gcc-lib/i386v. Existe ese
directorio? :)

# �y, por que me salen las otras dos lineas de error?

Porque no encuentra el preprocesador (cpp0) en el directorio que
has indicado. El segundo "error" simplemente te avisa de que no
ha usado para nada el directorio que has indicado (indirectamente
al poner la opcion '-b i386v')

Estas seguro de que has instalado el gcc como cross-compiler,
y que realmente puede compilar para Windows?

Lepton.
Technical Details
Message-ID: <Pine.LNX.4.44.0210310834041.299-100000@lorien.local>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!opentransit.net!fu-berlin.de!uni-berlin.de!b3274.pppool.DE!not-for-mail
References: <appnve$q4$1@reader2.wnet>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,51d3e6e83e12c97b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-10-31 00:40:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!opentransit.net!fu-berlin.de!uni-berlin.de!b3274.pppool.DE!not-for-mail
From: Lepton <reinob@jazzfree.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: gcc server.c -b i386v -o hola
Date: Thu, 31 Oct 2002 08:36:30 +0100
Lines: 30
Message-ID: <Pine.LNX.4.44.0210310834041.299-100000@lorien.local>
References: <appnve$q4$1@reader2.wnet>
NNTP-Posting-Host: b3274.pppool.de (213.7.50.116)
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
X-Trace: fu-berlin.de 1036053649 4367561 213.7.50.116 (16 [130846])
X-Orig-Path: localhost!reinob
In-Reply-To: <appnve$q4$1@reader2.wnet>