some strange messages about gcc

RAMBOZ H InfoEdpRsaVdf Herve.Ramboz@socgen.com
Mon Sep 3 01:55:00 GMT 2001


Hi!

I'm using gcc from several months in C with this version


Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)


and it works fine. Around  2000 lines are executed properly.

For a new program, I need to make a .o file which would be linked
separatedly. So I use the -c option in order to compile without any call to
ld.

The answer I get is the assemble doesn't find any input file:


gcc  -I../fml32 -I../include -I$TUXDIR/include
-o../objets/sde_sv_transfert.o -c sde_sv_transfert.c
/usr/ccs/bin/as: error: no input filename given
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
          [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
          [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
          [-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a]
[-xarch=v8plus] [-xarch=v8plusa] file.s...

The reason why I need to use -c is that the object must be linked as a
Tuxedo server.


I thank you a lot for your help!

Hervé Ramboz 


*************************************************************************

Ce message et toutes les pièces jointes (ci-après le "message") sont
confidentiels et établis à l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisée est interdite. 
Tout message électronique est susceptible d'altération. 
La SOCIETE GENERALE et ses filiales déclinent toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié.

				********

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. 

*************************************************************************



More information about the Gcc-help mailing list