🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.os.linux
Article #544

Re: Welke C programmeur heeft zin in een uitdaging ???

#544
From: Nico Coesel
Date: Thu, 17 Jun 1999 00:00
33 lines
1594 bytes
hihihi <hihihi@casema.net> wrote:

>Rob Janssen wrote:

>> >XWPE maakt daarvan :
>> >ppc386 -c programma.pas
>> >En deze toegevoegde -c laat de compile mislukken.
>>
>> Als dat alles is, dan maak je toch gewoon zo iets:
>> /usr/local/bin/ppc386:
>>
>> #!/bin/sh
>> shift
>> exec /usr/bin/ppc386 $@

>Dat was dus niet alles..
>Want dat probleem heb ik al opgelost in de C source zelf..

>XWPE gebruikt een source en output file in de command line voor de compiler.
>Zoiets : ppc386 prog.pas prog.o
>Dat tweede file kan ppc386 niet aan..
>En breekt af..

>Dit probleem is voor mij moeilijker te vinden in de C source...
>Aangezien ik geen C ken, alleen wat pascal.

Dat is toch niet zo moeilijk?
Even verbouwen:

#!/bin/sh
exec /usr/bin/ppc386 $2

Op deze manier wordt alleen de 2e parameter aan ppc386 doorgegeven.
Technical Details
Message-ID: <7kbbto$i46$1@enterprise.cistron.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3767EC37.BEC6E2FD@casema.net> <slrn7mfvsm.6hm.nomail@linux.pe1chl.ampr.org> <376908A8.31FE1E63@casema.net>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fb7d6,e15c0e7fc3619834
X-Google-Attributes: gidfb7d6,public
X-Google-Thread: 1049e4,e15c0e7fc3619834
X-Google-Attributes: gid1049e4,public
From: nctnico@cistron.nl (Nico Coesel)
Subject: Re: Welke C programmeur heeft zin in een uitdaging ???
Date: 1999/06/17
Message-ID: <7kbbto$i46$1@enterprise.cistron.nl>
X-Deja-AN: 490744766
References: <3767EC37.BEC6E2FD@casema.net> <slrn7mfvsm.6hm.nomail@linux.pe1chl.ampr.org> <376908A8.31FE1E63@casema.net>
X-Complaints-To: abuse@cistron.nl
X-Trace: enterprise.cistron.nl 929641208 18566 195.64.66.159 (17 Jun 1999 17:40:08 GMT)
Organization: NCT
NNTP-Posting-Date: 17 Jun 1999 17:40:08 GMT
Newsgroups: nl.comp.os.linux,casema.linux